wok-current diff gpxe/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 | 12d5d6943718 |
children | 3705d68ed8f3 |
line diff
1.1 --- a/gpxe/receipt Sat Dec 07 19:42:19 2013 +0000 1.2 +++ b/gpxe/receipt Sat Feb 24 11:14:17 2018 +0100 1.3 @@ -39,3 +39,14 @@ 1.4 http://download.tuxfamily.org/slitaz/pxe/pxelinux.0" | cat - /dev/zero | \ 1.5 dd bs=1 seek=519 count=255 conv=notrunc of=$fs/boot/gpxe 1.6 } 1.7 + 1.8 +# Pre and post install commands for Tazpkg. 1.9 +post_install() 1.10 +{ 1.11 + [ -s $1/boot/isolinux/isolinux.cfg ] && 1.12 + ! grep -qs 'Web Boot' $1/boot/isolinux/isolinux.cfg && 1.13 + sed -i 's|i18n.cfg|&\n\ 1.14 +LABEL web zeb\ 1.15 + MENU LABEL Web Boot\ 1.16 + KERNEL /boot/gpxe|' $1/boot/isolinux/isolinux.cfg 1.17 +}