wok-6.x view memtest-serial/receipt @ rev 21980
updated stuntman (1.2.6 -> 1.2.15)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Oct 11 17:56:48 2019 +0100 (2019-10-11) |
parents | beda06c66d60 |
children | 584e67527789 |
line source
1 # SliTaz package receipt.
3 PACKAGE="memtest-serial"
4 VERSION="5.01"
5 CATEGORY="base-system"
6 SHORT_DESC="Memory failures detection tool using serial port."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.memtest.org/"
10 WANTED="memtest"
11 PROVIDE="memtest"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/boot
17 cp $src/memtest.packed-115200 $fs/boot/memtest.exe
18 }
20 # Pre and post install commands for Tazpkg.
21 post_install()
22 {
23 [ -s $1/boot/isolinux/isolinux.cfg ] &&
24 ! grep -qs 'Check memory' $1/boot/isolinux/isolinux.cfg && sed -i \
25 's|LABEL md5|LABEL memtest mem ram\
26 MENU LABEL Check memory\
27 KERNEL /boot/memtest.exe\
28 \n&|' $1/boot/isolinux/isolinux.cfg
29 cat <<EOT
31 Output to vga and serial port. Default kernel cmdline: console=ttyS0,115200e8
32 EOT
33 }