wok-tiny rev 107

linux: suggest memtest & ipxe
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 09 10:08:12 2016 +0100 (2016-02-09)
parents d592d531f72d
children ee2e9af7ce73
files linux/receipt linux/stuff/bundle
line diff
     1.1 --- a/linux/receipt	Mon Feb 08 23:56:26 2016 +0100
     1.2 +++ b/linux/receipt	Tue Feb 09 10:08:12 2016 +0100
     1.3 @@ -14,9 +14,13 @@
     1.4  PATCH="https://www.selenic.com/tiny/2.6.14-tiny1.patch.bz2"
     1.5  AUTO_SELECTION="always"
     1.6  
     1.7 -DEPENDS="memtest ipxe"  # bundle may install a boot menu
     1.8 +DEPENDS=""
     1.9  BUILD_DEPENDS="slitaz-toolchain perl git lzma wget gcc2 advancecomp"
    1.10  
    1.11 +case "$TARGET" in
    1.12 +	i486) SUGGESTED="memtest ipxe";;  # bundle may install a boot menu
    1.13 +esac
    1.14 +
    1.15  # Rules to configure and make the package.
    1.16  compile_rules()
    1.17  {
     2.1 --- a/linux/stuff/bundle	Mon Feb 08 23:56:26 2016 +0100
     2.2 +++ b/linux/stuff/bundle	Tue Feb 09 10:08:12 2016 +0100
     2.3 @@ -85,8 +85,7 @@
     2.4  		menu=$(get 0x1F2 "$1")
     2.5  		[ $(get $(($menu -3)) "$1" 2) -eq 24937 ] && skip=4 || skip=0
     2.6  		ddq bs=1 skip=$menu count=$((0x1F3 - $menu)) if="$1" | \
     2.7 -		od -v -t u1 -w1 -An | awk -vx=$skip 'BEGIN { state=0 }
     2.8 -{
     2.9 +		od -v -t u1 -w1 -An | awk -vx=$skip '{
    2.10  	if (--skip >= 0) next
    2.11  	if (--bytes < 0) {
    2.12  		if ($1 == 0) {