wok diff syslinux/receipt @ rev 11657
syslinux: New graphical boot menu for Live CD/USB system with easy access to web boot, help, cmdline and i18n config
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Feb 12 14:26:16 2012 +0100 (2012-02-12) |
parents | 92066fec6a95 |
children | 3ae84f4269b5 |
line diff
1.1 --- a/syslinux/receipt Sat Jan 14 13:28:07 2012 +0100 1.2 +++ b/syslinux/receipt Sun Feb 12 14:26:16 2012 +0100 1.3 @@ -38,13 +38,15 @@ 1.4 cp -a $src/core/isolinux.bin $fs/boot/isolinux 1.5 cp -a $src/com32/modules/reboot.c32 $fs/boot/isolinux 1.6 cp -a $src/com32/modules/ifmem.c32 $fs/boot/isolinux 1.7 + cp -a $src/com32/menu/vesamenu.c32 $fs/boot/isolinux 1.8 cp -a $src/modules/poweroff.com $fs/boot/isolinux 1.9 - cp $stuff/*.cfg $stuff/*.txt $stuff/*.msg $fs/boot/isolinux 1.10 + # $stuff/isolinux.msg is the old way the have a splash image. 1.11 + cp $stuff/*.cfg $stuff/*.txt $stuff/help.* $stuff/opts.* $fs/boot/isolinux 1.12 while read cfg kbd loc ; do 1.13 sed -e "s/^display/kbdmap $cfg.kbd\ndisplay/" \ 1.14 -e "s/^label/say Now using $kbd keyboard and $loc locale.\nlabel/" \ 1.15 -e "s/rootfs.gz/rootfs.gz lang=$loc kmap=$kbd/" \ 1.16 - < $fs/boot/isolinux/isolinux.cfg > $fs/boot/isolinux/$cfg.cfg 1.17 + < $fs/boot/isolinux/default.cfg > $fs/boot/isolinux/$cfg.cfg 1.18 cp $src/$kbd.kbd $fs/boot/isolinux/$cfg.kbd 1.19 cat >> $fs/boot/isolinux/common.cfg <<EOT 1.20 label $cfg 1.21 @@ -74,5 +76,5 @@ 1.22 # Pre and post install commands for Tazpkg. 1.23 post_install() 1.24 { 1.25 - sed -i "s/-XXXXXXXX/-$(date +%Y%m%d)/" $1/boot/isolinux/isolinux.msg 1.26 + sed -i "s/-XXXXXXXX/-$(date +%Y%m%d)/" $1/boot/isolinux/isolinux.cfg 1.27 }