Use the absolute path to the kernel
This commit is contained in:
parent
4e8474e97b
commit
eb0ace1308
|
@ -63,11 +63,11 @@ _image_image_boot()
|
|||
$DEBUG $SUDO $INSTALL -m 0444 "$IMAGE_BOOT" "$DESTDIR/boot" \
|
||||
|| return 2
|
||||
#/boot.cfg
|
||||
BOOT_SPLASH="vesa 800x600x16;boot netbsd"
|
||||
BOOT_SPLASH="vesa 800x600x16;boot /netbsd"
|
||||
if [ -n "$IMAGE_SPLASH" ]; then
|
||||
$DEBUG $SUDO $INSTALL -m 0644 "$IMAGE_SPLASH" \
|
||||
"$DESTDIR/netbsd.jpeg" || return 2
|
||||
BOOT_SPLASH="vesa 800x600x16;splash /netbsd.jpeg;boot netbsd -z"
|
||||
BOOT_SPLASH="vesa 800x600x16;splash /netbsd.jpeg;boot /netbsd -z"
|
||||
fi
|
||||
$SUDO sh -c "cat > $DESTDIR/boot.cfg" << EOF
|
||||
clear=1
|
||||
|
@ -76,7 +76,7 @@ banner====================
|
|||
banner=
|
||||
banner=Please choose an option from the following menu:
|
||||
menu=Boot DeforaOS:$BOOT_SPLASH
|
||||
menu=Boot DeforaOS (text mode):boot netbsd
|
||||
menu=Boot DeforaOS (text mode):boot /netbsd
|
||||
menu=Reboot:quit
|
||||
menu=Drop to boot prompt:prompt
|
||||
default=1
|
||||
|
@ -214,11 +214,11 @@ _image_iso_post()
|
|||
$DEBUG $SUDO $GZIP -9 "$DESTDIR/netbsd" || return 2
|
||||
$DEBUG $SUDO $INSTALL -m 0644 "$IMAGE_BOOT" "$DESTDIR/boot" \
|
||||
|| return 2
|
||||
BOOT_SPLASH="vesa 800x600x16;boot netbsd.gz"
|
||||
BOOT_SPLASH="vesa 800x600x16;boot /netbsd.gz"
|
||||
if [ -n "$IMAGE_SPLASH" ]; then
|
||||
$DEBUG $SUDO $INSTALL -m 0644 "$IMAGE_SPLASH" \
|
||||
"$DESTDIR/netbsd.jpeg" || return 2
|
||||
BOOT_SPLASH="vesa 800x600x16;splash /netbsd.jpeg;boot netbsd.gz -z"
|
||||
BOOT_SPLASH="vesa 800x600x16;splash /netbsd.jpeg;boot /netbsd.gz -z"
|
||||
fi
|
||||
$SUDO sh -c "cat > $DESTDIR/boot.cfg" << EOF
|
||||
clear=1
|
||||
|
@ -227,7 +227,7 @@ banner====================
|
|||
banner=
|
||||
banner=Please choose an option from the following menu:
|
||||
menu=Boot DeforaOS:$BOOT_SPLASH
|
||||
menu=Boot DeforaOS (text mode):boot netbsd.gz
|
||||
menu=Boot DeforaOS (text mode):boot /netbsd.gz
|
||||
menu=Reboot:quit
|
||||
menu=Drop to boot prompt:prompt
|
||||
default=1
|
||||
|
|
Loading…
Reference in New Issue
Block a user