mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-02-18 20:47:01 +00:00
mkiso: misc boot fixes
- set boot prompt timeout to 2 sec - remove unused boot parameter - move test.gz to /boot subdir
This commit is contained in:
parent
4db92fc982
commit
a33d97f9c7
6
mkiso
6
mkiso
@ -18,13 +18,13 @@ rm -r $tmp
|
||||
mkdir -p $tmp/apks $tmp/isolinux
|
||||
cp /usr/share/syslinux/isolinux.* $tmp/isolinux
|
||||
cat >$tmp/isolinux/isolinux.cfg <<EOF
|
||||
timeout 300
|
||||
timeout 20
|
||||
prompt 1
|
||||
default test
|
||||
|
||||
label test
|
||||
kernel /boot/vmlinuz
|
||||
append initrd=/test.gz init=/sbin/init quiet alpine_dev=cdrom
|
||||
append initrd=/boot/test.gz alpine_dev=cdrom quiet
|
||||
EOF
|
||||
|
||||
|
||||
@ -35,8 +35,8 @@ unapk $tmp $aports/core/linux-grsec/linux-grsec-[0-9]*.apk
|
||||
sh mkinitram
|
||||
sh mkmodloop
|
||||
|
||||
cp test.gz $tmp/
|
||||
mkdir -p $tmp/boot/
|
||||
cp test.gz $tmp/boot/
|
||||
cp modloop.cmg $tmp/boot/
|
||||
|
||||
genisoimage -o $target -l -J -R \
|
||||
|
Loading…
Reference in New Issue
Block a user