Commit a33d97f9 authored by Natanael Copa's avatar Natanael Copa
Browse files

mkiso: misc boot fixes

- set boot prompt timeout to 2 sec
- remove unused boot parameter
- move test.gz to /boot subdir
parent 4db92fc9
...@@ -18,13 +18,13 @@ rm -r $tmp ...@@ -18,13 +18,13 @@ rm -r $tmp
mkdir -p $tmp/apks $tmp/isolinux mkdir -p $tmp/apks $tmp/isolinux
cp /usr/share/syslinux/isolinux.* $tmp/isolinux cp /usr/share/syslinux/isolinux.* $tmp/isolinux
cat >$tmp/isolinux/isolinux.cfg <<EOF cat >$tmp/isolinux/isolinux.cfg <<EOF
timeout 300 timeout 20
prompt 1 prompt 1
default test default test
label test label test
kernel /boot/vmlinuz kernel /boot/vmlinuz
append initrd=/test.gz init=/sbin/init quiet alpine_dev=cdrom append initrd=/boot/test.gz alpine_dev=cdrom quiet
EOF EOF
...@@ -35,8 +35,8 @@ unapk $tmp $aports/core/linux-grsec/linux-grsec-[0-9]*.apk ...@@ -35,8 +35,8 @@ unapk $tmp $aports/core/linux-grsec/linux-grsec-[0-9]*.apk
sh mkinitram sh mkinitram
sh mkmodloop sh mkmodloop
cp test.gz $tmp/
mkdir -p $tmp/boot/ mkdir -p $tmp/boot/
cp test.gz $tmp/boot/
cp modloop.cmg $tmp/boot/ cp modloop.cmg $tmp/boot/
genisoimage -o $target -l -J -R \ genisoimage -o $target -l -J -R \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment