[ User ] Login

Bug 78: CLOSED

linux receipt supose he is the only OS on grub

Date: 2013-01-03 03:44 - Creator: border - Priority standard - 2 messages

on linux(the package) receipt at line 325

pick the first root=(foo.foo) he found and use it!
# GRUB stuff.
if [ -f bug/boot/grub/menu.lst ]; then
# Add new kernel entry in case of upgrade for installed system.
if ! grep -q vmlinuz--slitaz bug/boot/grub/menu.lst; then
cat >> bug/boot/grub/menu.lst << EOT

title SliTaz GNU/Linux (Kernel -slitaz)

kernel /boot/vmlinuz--slitaz root=
But what if the first entry is NOT the current OS ?

Affected package(s): linux


By: border on 2013-01-03 03:47

code snipet here:
the one above have been executed LOLLL.


By: border on 2013-01-05 17:32

fixed here  hg.slitaz.org/wok/rev/47a7ea2215ab