modify debug message
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user