On 07/06/2010 08:24 AM, Dennis Schridde wrote: > URL: > <http://savannah.gnu.org/bugs/?30364> > > Summary: grub-mkconfig(/etc/grub.d/10_linux) ignores builtin > initrds > Project: GNU GRUB > Submitted by: devurandom > Submitted on: Di 06 Jul 2010 06:24:58 GMT > Category: Configuration > Severity: Major > Priority: 5 - Normal > Item Group: Software Error > Status: None > Privacy: Public > Assigned to: None > Originator Name: > Originator Email: > Open/Closed: Open > Discussion Lock: Any > Release: > Release: 1.98 > Reproducibility: Every Time > Planned Release: None > > _______________________________________________________ > > Details: > > When CONFIG_INITRAMFS_SOURCE is set, no seperate initrd is necessary. > grub-mkconfig from grub-1.98 (specifically /etc/grub.d/10_linux) > ignores this and assumes: > """ > # "UUID=" magic is parsed by initrds. Since there's no initrd, it can't > work > here > """ > > I propose following fix: > --- /etc/grub.d/10_linux.orig 2010-06-28 14:22:06.080669780 +0200 > +++ /etc/grub.d/10_linux 2010-06-28 14:21:24.177670182 +0200 > @@ -128,7 +128,7 @@ > done > if test -n "${initrd}" ; then > echo "Found initrd image: ${dirname}/${initrd}" >&2 > - else > + elif ! grep "CONFIG_INITRAMFS_SOURCE=" /boot/config-${version} 2> > /dev/null > ; then > # "UUID=" magic is parsed by initrds. Since there's no initrd, it > can't > work here. > linux_root_device_thisversion=${GRUB_DEVICE} > > This patch doesn't work correctly. It detects even
CONFIG_INITRAMFS_SOURCE="" line which means no built-in initrd > > > > _______________________________________________________ > > Reply to this item at: > > <http://savannah.gnu.org/bugs/?30364> > > _______________________________________________ > Nachricht geschickt von/durch Savannah > http://savannah.gnu.org/ > > > _______________________________________________ > Bug-grub mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/bug-grub > > -- Regards Vladimir 'φ-coder/phcoder' Serbinenko
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Bug-grub mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-grub
