wok-6.x view memtest-serial/receipt @ rev 23835
Up axel (2.17.8), bluez (5.54), cpio (2.13), dnsmasq (2.81), libssh (0.9.4), unbound (1.10.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 01 09:34:18 2020 +0000 (2020-06-01) |
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 }