[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
Tue Jun 22 19:42:48 UTC 2010
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 #17 from Naveen Kumar <nkumar at redhat.com> 2010-06-22 15:42:46 EDT ---
(In reply to comment #16)
> (In reply to comment #15)
>
> > only the command /sbin/new-kernel-pkg --package kernel --dracut --install
> > $(uname -r) seems to work...
>
> There is no single magic commandline you will need to either parse the output
> of rpm -q kernel + rpm -q kernel-PAE, or better us the rpm python bindings to
> get the versions of the installed kernels your self and then for each version
> run:
> /sbin/new-kernel-pkg --package kernel --dracut --install <version>
>
> For example on my system "rpm -q kernel" gives:
> kernel-2.6.33-0.48.rc8.git4.local.fc13.x86_64
> kernel-2.6.33-0.52.rc8.git6.fc13.x86_64
> kernel-2.6.33-9.local.fc13.x86_64
> kernel-2.6.33-9.local2.fc13.x86_64
> kernel-2.6.33.1-13.local3.fc13.x86_64
> kernel-2.6.34-0.11.rc1.git1.local3.fc14.x86_64
> kernel-2.6.33.1-13.local4.fc13.x86_64
> kernel-2.6.33.1-26.fc13.x86_64
>
> (yeah I need to cleanup a bit I guess)
>
> So you should run:
> /sbin/new-kernel-pkg --package kernel --dracut --install
> 2.6.33-0.48.rc8.git4.local.fc13.x86_64
> /sbin/new-kernel-pkg --package kernel --dracut --install
> 2.6.33-0.52.rc8.git6.fc13.x86_64
> /sbin/new-kernel-pkg --package kernel --dracut --install
> 2.6.33-9.local.fc13.x86_64
> <etc>
>
> I'm sure I can whip up a bash script doing what you need, but there is little
> point in that as you should be able to do the parsing and looping just fine in
> python.
Ah! you completely misunderstood me. The problem is not with parsing command
line, what I am saying is that command
/sbin/new-kernel-pkg --package kernel --dracut --install $(uname -r)
is working but other commands like
/sbin/new-kernel-pkg --package kernel --dracut --install
2.6.33-0.48.rc8.git4.local.fc13.x86_64
are not working. They do not write anything in /etc/grub.conf.
--
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 i18n-bugs
mailing list