wok rev 21363

syslinux: iso2exe/init fix loram case
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 21 17:37:32 2019 +0200 (18 months ago)
parents 29a21404e7bf
children 57751fccb26f
files linld/receipt syslinux/stuff/iso2exe/init
line diff
     1.1 --- a/linld/receipt	Sun Apr 21 16:14:35 2019 +0100
     1.2 +++ b/linld/receipt	Sun Apr 21 17:37:32 2019 +0200
     1.3 @@ -41,6 +41,8 @@
     1.4  		2>&1 | grep -v 'ALSA lib'
     1.5  	grep '^Error[ :]' */LNK.LOG */CPP.LOG && return 1
     1.6  	grep '*Error*' */*.LST && return 1
     1.7 +	grep '^Warning[ :]' */LNK.LOG */CPP.LOG
     1.8 +	grep '*Warning*' */*.LST
     1.9  	cp LINLD$SUFFIX/LINLD.COM linld.com
    1.10  	cp TAZBOOT/TAZBOOT.COM tazboot.com
    1.11  	objdump -D -b binary -mi386 -Maddr16,data16 --adjust-vma=0x100 \
     2.1 --- a/syslinux/stuff/iso2exe/init	Sun Apr 21 16:14:35 2019 +0100
     2.2 +++ b/syslinux/stuff/iso2exe/init	Sun Apr 21 17:37:32 2019 +0200
     2.3 @@ -171,7 +171,7 @@
     2.4  dotwait()
     2.5  {
     2.6  	echo -n "${1:-Install filesystem}.."
     2.7 -	touch /tmp/wait
     2.8 +	echo -n > /tmp/wait
     2.9  	while [ -e /tmp/wait ]; do
    2.10  		echo -n "." > /dev/tty0
    2.11  		sleep 1
    2.12 @@ -1040,8 +1040,8 @@
    2.13  	fi
    2.14  	ln -s /sqfs/lib/* lib
    2.15  	ln -s /sqfs/usr /sqfs/var /
    2.16 -	for i in dmesg basename tr od reboot poweroff getty sync ; do
    2.17 -		ln -s /sqfs/bin/busybox /bin/$i
    2.18 +	/sqfs/bin/busybox --list | while read i; do
    2.19 +		[ -x /bin/$i ] || ln -s /sqfs/bin/busybox /bin/$i
    2.20  	done
    2.21  }
    2.22