# HG changeset patch # User Pascal Bellard # Date 1455008892 -3600 # Node ID 93ea2d4c06f3ca53238acf6c9a71f2670eaf5227 # Parent d592d531f72db69cbc0e8a753fe6760470e4340c linux: suggest memtest & ipxe diff -r d592d531f72d -r 93ea2d4c06f3 linux/receipt --- a/linux/receipt Mon Feb 08 23:56:26 2016 +0100 +++ b/linux/receipt Tue Feb 09 10:08:12 2016 +0100 @@ -14,9 +14,13 @@ PATCH="https://www.selenic.com/tiny/2.6.14-tiny1.patch.bz2" AUTO_SELECTION="always" -DEPENDS="memtest ipxe" # bundle may install a boot menu +DEPENDS="" BUILD_DEPENDS="slitaz-toolchain perl git lzma wget gcc2 advancecomp" +case "$TARGET" in + i486) SUGGESTED="memtest ipxe";; # bundle may install a boot menu +esac + # Rules to configure and make the package. compile_rules() { diff -r d592d531f72d -r 93ea2d4c06f3 linux/stuff/bundle --- a/linux/stuff/bundle Mon Feb 08 23:56:26 2016 +0100 +++ b/linux/stuff/bundle Tue Feb 09 10:08:12 2016 +0100 @@ -85,8 +85,7 @@ menu=$(get 0x1F2 "$1") [ $(get $(($menu -3)) "$1" 2) -eq 24937 ] && skip=4 || skip=0 ddq bs=1 skip=$menu count=$((0x1F3 - $menu)) if="$1" | \ - od -v -t u1 -w1 -An | awk -vx=$skip 'BEGIN { state=0 } -{ + od -v -t u1 -w1 -An | awk -vx=$skip '{ if (--skip >= 0) next if (--bytes < 0) { if ($1 == 0) {