wok-6.x view memtest-serial/receipt @ rev 24669

updated inxi (3.0.37 -> 3.3.13)
author Hans-G?nter Theisgen
date Fri Mar 11 16:49:52 2022 +0100 (2022-03-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 }