[scripts] grub fixes for the Amazon EC2 tarballs

This commit is contained in:
Fabio Erculiani 2012-07-25 17:29:18 +02:00
parent a8ca70d56b
commit a320e11882
1 changed files with 4 additions and 1 deletions

View File

@ -60,9 +60,10 @@ hiddenmenu
title Sabayon Linux AMI (PV)
root (hd0)
kernel /boot/bzImage root=/dev/sda1 console=hvc0 rootfstype=ext4
kernel /boot/bzImage root=LABEL=/ console=hvc0 rootfstype=ext4
initrd /boot/Initrd
" > /boot/grub/grub.conf
( cd /boot/grub && ln -sf grub.conf menu.lst ) || exit 1
# Generate list of installed packages
equo query list installed -qv > /etc/sabayon-pkglist
@ -83,6 +84,8 @@ done
# cleanup log dir
rm /var/lib/entropy/logs -rf
# cleanup install-data dir
rm -rf /install-data
# Generate openrc cache
touch /lib/rc/init.d/softlevel