Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 382769 - grub2 should allow for manual configuration
Summary: grub2 should allow for manual configuration
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tomáš Chvátal (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-13 05:19 UTC by Mike Gilbert
Modified: 2011-09-20 22:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Gilbert gentoo-dev 2011-09-13 05:19:27 UTC
The current grub2 ebuild calls grub2-mkconfig unconditionally from pkg_postinst. If the user has written their grub configuration by hand, this will overwrite their hard work. There is currently no way to disable this.

Two possible solutions:
1. Call grub2-mkconfig conditionally based on a use flag.
2. Remove the grub2-mkconfig call and replace it with an ewarn message.
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2011-09-14 17:46:43 UTC
Good point, i will create pkg_config phase where you would be able to configure which directory it uses with some sane default :)
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2011-09-20 22:06:44 UTC
Actually i did fix this already few days ago but forgot to close this bug.

Lemme know if it works for you.