Nicer bootloader screen
This commit is contained in:
parent
ab2ff41091
commit
5a4943216c
|
@ -65,10 +65,18 @@ _image_image()
|
||||||
$SUDO $INSTALL -m 755 "Apps/Unix/src/others/tools/oinit" \
|
$SUDO $INSTALL -m 755 "Apps/Unix/src/others/tools/oinit" \
|
||||||
"$DESTDIR/sbin/init" &&
|
"$DESTDIR/sbin/init" &&
|
||||||
$SUDO $INSTALL -m 644 "$IMAGE_BOOT" "$DESTDIR/boot" &&
|
$SUDO $INSTALL -m 644 "$IMAGE_BOOT" "$DESTDIR/boot" &&
|
||||||
$SUDO sh -c "echo 'menu=Boot DeforaOS:vesa 640x480;boot netbsd' \
|
$SUDO sh -c "cat > $DESTDIR/boot.cfg" << EOF
|
||||||
> $DESTDIR/boot.cfg" &&
|
banner=Welcome to DeforaOS
|
||||||
|
banner====================
|
||||||
|
banner=
|
||||||
|
banner=Please choose an option from the following menu:
|
||||||
|
menu=Boot DeforaOS:vesa 640x480x8;boot netbsd
|
||||||
|
menu=Drop to boot prompt:prompt
|
||||||
|
default=1
|
||||||
|
timeout=10
|
||||||
|
EOF
|
||||||
$SUDO $INSTALL -m 755 "$IMAGE_KERNEL" "$DESTDIR/netbsd" &&
|
$SUDO $INSTALL -m 755 "$IMAGE_KERNEL" "$DESTDIR/netbsd" &&
|
||||||
$SUDO $INSTALLBOOT -m "$MACHINE" -o "console=pc" "/dev/r${VND}e" \
|
$SUDO $INSTALLBOOT -m "$MACHINE" -o "timeout=10" "/dev/r${VND}e" \
|
||||||
"/usr/mdec/bootxx_ffsv1"
|
"/usr/mdec/bootxx_ffsv1"
|
||||||
RET=$?
|
RET=$?
|
||||||
$SUDO $UMOUNT "$DESTDIR"
|
$SUDO $UMOUNT "$DESTDIR"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user