wok diff ipxe/receipt @ rev 20210
syslinux: remove memtest & ipxe entries
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 24 11:14:17 2018 +0100 (2018-02-24) |
parents | 17a7f1c3ddc6 |
children | 0686e05d4ad3 |
line diff
1.1 --- a/ipxe/receipt Thu Feb 01 15:51:03 2018 +0100 1.2 +++ b/ipxe/receipt Sat Feb 24 11:14:17 2018 +0100 1.3 @@ -53,6 +53,17 @@ 1.4 { 1.5 mkdir -p $fs/boot $install/usr/share 1.6 cp -a $src/src/doc $install/usr/share 1.7 - cp -a $src/src/bin/ipxe.lkrn $fs/boot/ipxe 1.8 - dd if=$src/src/bootloader.bin of=$fs/boot/ipxe conv=notrunc 1.9 + cp -a $src/src/bin/ipxe.lkrn $fs/boot/ipxe.exe 1.10 + dd if=$src/src/bootloader.bin of=$fs/boot/ipxe.exe conv=notrunc 1.11 } 1.12 + 1.13 +# Pre and post install commands for Tazpkg. 1.14 +post_install() 1.15 +{ 1.16 + [ -s $1/boot/isolinux/isolinux.cfg ] && 1.17 + ! grep -qs 'Web Boot' $1/boot/isolinux/isolinux.cfg && 1.18 + sed -i 's|i18n.cfg|&\n\ 1.19 +LABEL web zeb\ 1.20 + MENU LABEL Web Boot\ 1.21 + KERNEL /boot/ipxe.exe|' $1/boot/isolinux/isolinux.cfg 1.22 +}