[Fedora-i18n-bugs] [Bug 545499] system-config-language does not fixup /boot/grub/grub.conf for dracut

bugzilla at redhat.com bugzilla at redhat.com
Wed Dec 9 11:05:15 UTC 2009


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=545499





--- Comment #5 from Hans de Goede <hdegoede at redhat.com>  2009-12-09 06:05:14 EDT ---
I see your point about parsing /etc/grub.conf is something
system-config-language does not want to do, and this is not necessary,
after writing the relevant /etc/sysconfig files, all that
system-config-language needs to do is call (as root):

/sbin/new-kernel-pkg --package <package-name> --dracut --install <uname -r>

For all installed kernels, so for example on my system:
[hans at localhost ~]$ rpm -q kernel kernel-PAE
kernel-2.6.31.5-106.fc12.x86_64
kernel-2.6.31.5-127.fc12.x86_64
kernel-2.6.31.6-151.fc12.x86_64
package kernel-PAE is not installed
[hans at localhost ~]$ 

It would need to call:
/sbin/new-kernel-pkg --package kernel --dracut --install
2.6.31.5-106.fc12.x86_64
/sbin/new-kernel-pkg --package kernel --dracut --install
2.6.31.5-127.fc12.x86_64
/sbin/new-kernel-pkg --package kernel --dracut --install
2.6.31.6-151.fc12.x86_64

(this should be 3 lines)

But on a system which has
kernel-PAE-2.6.31.6-151.fc12.i686

It would need to call:
/sbin/new-kernel-pkg --package kernel-PAE --dracut --install
2.6.31.6-151.fc12.i686.PAE

Notice the PAE is in there now (2 times!)

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the Fedora-i18n-bugs mailing list