wok view memtest-serial/receipt @ rev 20235

busybox: add arch (uname -m alias)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 05 15:52:59 2018 +0100 (2018-03-05)
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 }