modify debug message

This commit is contained in:
root
2011-02-25 10:20:17 +08:00
parent 1f3216863c
commit 3c800ffdf8

View File

@@ -65,7 +65,7 @@ configure_elilo_cnf()
{
local root_dev
root_dev="/dev/$ROOT_PARTITION"
sed -i "s@root=@root=$root_dev@g" /mnt/boot/efi/boot/elilo.conf
sed -i "s@root=@root=$root_dev@g" $ELILO_CNF
}
configure_grub_cnf ()
@@ -196,7 +196,7 @@ main ()
;;
elilo)
if [ -z "$ROOT_PARTITION" ]; then
err "configure grub configuration file root partition can't be empty"
err "configure elilo configuration file root partition can't be empty"
exit 1
fi
configure_elilo_cnf
@@ -224,6 +224,7 @@ GRUB_DIR="$TARGET/boot/grub"
GRUBMENU="$GRUB_DIR/menu.lst"
GRUBCNF="$GRUB_DIR/grub.conf.sample"
DEVICEMAP="$GRUB_DIR/device.map"
ELILO_CNF="$TARGET/boot/efi/boot/elilo.conf"
# The quotes around '$@' are essential!
# in this way we can accept whitespace as parameter.