wok-6.x rev 13196
syslinux: add memtest menu entry
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 05 10:14:57 2012 +0200 (2012-08-05) |
parents | f5438bbbdb73 |
children | fb8f84758977 |
files | memtest/receipt syslinux/receipt syslinux/stuff/isolinux.cfg |
line diff
1.1 --- a/memtest/receipt Sun Aug 05 09:49:35 2012 +0200 1.2 +++ b/memtest/receipt Sun Aug 05 10:14:57 2012 +0200 1.3 @@ -21,15 +21,6 @@ 1.4 # Rules to gen a SliTaz package suitable for Tazpkg. 1.5 genpkg_rules() 1.6 { 1.7 - mkdir -p $fs/usr/share/boot 1.8 - lzma e $src/memtest.bin $fs/usr/share/boot/memtest.lzma 1.9 + mkdir -p $fs/boot 1.10 + cp $src/memtest.bin $fs/boot/memtest 1.11 } 1.12 - 1.13 -# Pre and post install commands for Tazpkg. 1.14 -post_install() 1.15 -{ 1.16 - echo "----" 1.17 - echo "You can create memtest boot floppy with:" 1.18 - echo "# unlzma -c /usr/share/boot/memtest.lzma > /dev/fd0" 1.19 - echo "----" 1.20 -}
2.1 --- a/syslinux/receipt Sun Aug 05 09:49:35 2012 +0200 2.2 +++ b/syslinux/receipt Sun Aug 05 10:14:57 2012 +0200 2.3 @@ -9,7 +9,7 @@ 2.4 WEB_SITE="http://syslinux.zytor.com/" 2.5 WGET_URL="ftp://ftp.kernel.org/pub/linux/utils/boot/syslinux/$TARBALL" 2.6 BUILD_DEPENDS="kbd-base perl nasm" 2.7 -DEPENDS="gpxe" 2.8 +DEPENDS="gpxe memtest" 2.9 CONFIG_FILES="/boot/isolinux" 2.10 2.11 # Rules to gen a SliTaz package suitable for Tazpkg.
3.1 --- a/syslinux/stuff/isolinux.cfg Sun Aug 05 09:49:35 2012 +0200 3.2 +++ b/syslinux/stuff/isolinux.cfg Sun Aug 05 10:14:57 2012 +0200 3.3 @@ -38,6 +38,10 @@ 3.4 3.5 INCLUDE i18n.cfg 3.6 3.7 +LABEL memtest 3.8 + MENU LABEL Check memory 3.9 + KERNEL /boot/memtest 3.10 + 3.11 LABEL md5sum 3.12 MENU LABEL Check media 3.13 COM32 c32box.c32