# HG changeset patch # User Pascal Bellard # Date 1344154497 -7200 # Node ID 75c0995b510fd0942d7f2f6fcd3c679e80068cdf # Parent f5438bbbdb739eaea8b93de8461e4f326ba1eea8 syslinux: add memtest menu entry diff -r f5438bbbdb73 -r 75c0995b510f memtest/receipt --- a/memtest/receipt Sun Aug 05 09:49:35 2012 +0200 +++ b/memtest/receipt Sun Aug 05 10:14:57 2012 +0200 @@ -21,15 +21,6 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/share/boot - lzma e $src/memtest.bin $fs/usr/share/boot/memtest.lzma + mkdir -p $fs/boot + cp $src/memtest.bin $fs/boot/memtest } - -# Pre and post install commands for Tazpkg. -post_install() -{ - echo "----" - echo "You can create memtest boot floppy with:" - echo "# unlzma -c /usr/share/boot/memtest.lzma > /dev/fd0" - echo "----" -} diff -r f5438bbbdb73 -r 75c0995b510f syslinux/receipt --- a/syslinux/receipt Sun Aug 05 09:49:35 2012 +0200 +++ b/syslinux/receipt Sun Aug 05 10:14:57 2012 +0200 @@ -9,7 +9,7 @@ WEB_SITE="http://syslinux.zytor.com/" WGET_URL="ftp://ftp.kernel.org/pub/linux/utils/boot/syslinux/$TARBALL" BUILD_DEPENDS="kbd-base perl nasm" -DEPENDS="gpxe" +DEPENDS="gpxe memtest" CONFIG_FILES="/boot/isolinux" # Rules to gen a SliTaz package suitable for Tazpkg. diff -r f5438bbbdb73 -r 75c0995b510f syslinux/stuff/isolinux.cfg --- a/syslinux/stuff/isolinux.cfg Sun Aug 05 09:49:35 2012 +0200 +++ b/syslinux/stuff/isolinux.cfg Sun Aug 05 10:14:57 2012 +0200 @@ -38,6 +38,10 @@ INCLUDE i18n.cfg +LABEL memtest + MENU LABEL Check memory + KERNEL /boot/memtest + LABEL md5sum MENU LABEL Check media COM32 c32box.c32