wok-current view memtest-serial/receipt @ rev 20210

syslinux: remove memtest & ipxe entries
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 24 11:14:17 2018 +0100 (2018-02-24)
parents d0ddd1e74d41
children 0686e05d4ad3
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 cat <<EOT
25 Output to vga and serial port. Default kernel cmdline: console=ttyS0,115200e8
26 EOT
27 [ -s $1/boot/isolinux/isolinux.cfg ] &&
28 ! grep -qs 'Check memory' $1/boot/isolinux/isolinux.cfg && sed -i \
29 's|LABEL md5|LABEL memtest mem ram\
30 MENU LABEL Check memory\
31 KERNEL /boot/memtest.exe\
32 \n&|' $1/boot/isolinux/isolinux.cfg
33 }