mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-04-22 15:06:29 +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
|
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
|
|||||||
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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user