wok rev 23809

linld: add isoboot (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 24 16:43:25 2020 +0000 (9 months ago)
parents c996f5ec1fb0
children d33c3c211ef8
files linld/receipt
line diff
     1.1 --- a/linld/receipt	Sun May 24 16:31:14 2020 +0000
     1.2 +++ b/linld/receipt	Sun May 24 16:43:25 2020 +0000
     1.3 @@ -46,8 +46,11 @@
     1.4  	grep '^Warning[ :]' */LNK.LOG */CPP.LOG
     1.5  	grep '*Warning*' */*.LST
     1.6  	cp LINLD$SUFFIX/LINLD.COM linld.com
     1.7 -	cp LINLD$SUFFIX/ISOBOOT.COM isoboot.com
     1.8  	cp TAZBOOT/TAZBOOT.COM tazboot.com
     1.9 +	dd count=$((0x$(sed '/ FOLD/!d;s|.*:||;s| .*||;q' LINLD$SUFFIX/ISOBOOT.MAP) - 0x100)) \
    1.10 +		if=LINLD$SUFFIX/ISOBOOT.COM bs=1 > isoboot.com
    1.11 +	dd skip=$((0x$(sed '/ UNFOLD/!d;s|.*:||;s| .*||;q' LINLD$SUFFIX/ISOBOOT.MAP) - 0x100)) \
    1.12 +		if=LINLD$SUFFIX/ISOBOOT.COM bs=1 >> isoboot.com
    1.13  	objdump -D -b binary -mi386 -Maddr16,data16 --adjust-vma=0x100 \
    1.14  		linld.com > linld.lst
    1.15  	linld=linld.com