wok diff BootProg/receipt @ rev 24943

BootProg: clear cmdline (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 20 16:57:09 2022 +0000 (2022-04-20)
parents b9659e3c2111
children 78727b04c002
line diff
     1.1 --- a/BootProg/receipt	Thu Feb 24 19:32:16 2022 +0000
     1.2 +++ b/BootProg/receipt	Wed Apr 20 16:57:09 2022 +0000
     1.3 @@ -8,20 +8,17 @@
     1.4  LICENSE="MIT"
     1.5  WEB_SITE="https://wiki.osdev.org/BootProg"
     1.6  
     1.7 -BUILD_DEPENDS="nasm"
     1.8 +BUILD_DEPENDS="nasm lzma"
     1.9  
    1.10  # Rules to configure and make the package.
    1.11  compile_rules()
    1.12  {
    1.13  	mkdir -p $src && cd $src
    1.14 -	for i in bootex boot16 boot32 ; do
    1.15 +	sed '1,/^exit 1/!d' $stuff/bootprog.sh > bootprog
    1.16 +	for i in boot16 boot32 bootex ; do
    1.17  		cp $stuff/$i.asm .
    1.18 -		nasm $i.asm -f bin -o $i.bin -l $i.lst
    1.19 -	done
    1.20 -	sed '1,/^exit 1/!d' $stuff/bootprog.sh > bootprog
    1.21 -	tar czf - boot16.bin boot32.bin bootex.bin > set.tar.gz
    1.22 -	[ "$(which advdef)" ] && advdef -z4 set.tar.gz
    1.23 -	cat set.tar.gz >> bootprog
    1.24 +		nasm $i.asm -f bin -o $i.bin -l $i.lst && cat $i.bin
    1.25 +	done | lzma -9 >> bootprog
    1.26  	chmod +x bootprog
    1.27  }
    1.28