wok diff memtest-serial/receipt @ rev 20218

Up tazlito (484)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 25 17:56:27 2018 +0100 (2018-02-25)
parents d0ddd1e74d41
children 0686e05d4ad3
line diff
     1.1 --- a/memtest-serial/receipt	Wed Oct 15 16:15:55 2014 +0200
     1.2 +++ b/memtest-serial/receipt	Sun Feb 25 17:56:27 2018 +0100
     1.3 @@ -8,18 +8,26 @@
     1.4  LICENSE="GPL2"
     1.5  WEB_SITE="http://www.memtest.org/"
     1.6  WANTED="memtest"
     1.7 +PROVIDE="memtest"
     1.8  
     1.9  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.10  genpkg_rules()
    1.11  {
    1.12  	mkdir -p $fs/boot
    1.13 -	cp $src/memtest.packed-115200 $fs/boot/memtest
    1.14 +	cp $src/memtest.packed-115200 $fs/boot/memtest.exe
    1.15  }
    1.16  
    1.17  # Pre and post install commands for Tazpkg.
    1.18  post_install()
    1.19  {
    1.20  	cat <<EOT
    1.21 +
    1.22  Output to vga and serial port. Default kernel cmdline: console=ttyS0,115200e8
    1.23  EOT
    1.24 +	[ -s $1/boot/isolinux/isolinux.cfg ] &&
    1.25 +	! grep -qs 'Check memory' $1/boot/isolinux/isolinux.cfg && sed -i \
    1.26 +'s|LABEL md5|LABEL memtest mem ram\
    1.27 +	MENU LABEL Check memory\
    1.28 +	KERNEL /boot/memtest.exe\
    1.29 +\n&|' $1/boot/isolinux/isolinux.cfg
    1.30  }