https://bugzilla.novell.com/show_bug.cgi?id=762095 https://bugzilla.novell.com/show_bug.cgi?id=762095#c3 --- Comment #3 from Michael Chang <mchang@suse.com> 2012-05-15 08:39:31 UTC --- (In reply to comment #2)
I set grub2 up ages ago - before your perl-bootloader changes went in.
Can't you get those values at install time from grub? Just check whether grub_installdevice and if not if grub has the data and if so, copy it to grub_installdevice?
The implementation is possible, maybe in perl-bootloader's %post section, or any other better place ? However my preference is get rid of /etc/default/grub_installdevice by merging it to /etc/default/grub (as comment#1 stats) and would not touch install device / activate / generic_mbr if they were missing (Simply because user haven't configured these items for grub2 in a way that upper managing tools aware of, so better don't touch them). Sync from grub should be a way to go and should work on most cases.. but may also have side effects if users get their grub2 installed manually on other locations we never know .. (basically we would suggest set /etc/sysconfig/bootloader:LOADER_TYPE=none if you want manually install bootloader, but your case somehow different). :( Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.