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