wok diff BootProg/receipt @ rev 25456

BootProg: fix fat16 case
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 22 14:50:47 2022 +0000 (21 months ago)
parents d1f31f5f6401
children ad0bc3efbf37
line diff
     1.1 --- a/BootProg/receipt	Wed Apr 20 15:10:50 2022 +0000
     1.2 +++ b/BootProg/receipt	Thu Sep 22 14:50:47 2022 +0000
     1.3 @@ -8,17 +8,17 @@
     1.4  LICENSE="MIT"
     1.5  WEB_SITE="https://wiki.osdev.org/BootProg"
     1.6  
     1.7 -BUILD_DEPENDS="nasm lzma"
     1.8 +BUILD_DEPENDS="nasm xz"
     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 -	sed '1,/^exit 1/!d' $stuff/bootprog.sh > bootprog
    1.15 +	sed '1,/^exit/!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 && cat $i.bin
    1.19 -	done | lzma -9 >> bootprog
    1.20 +	done | xz -z --format=lzma --lzma1=lc=0,pb=0,nice=102,dict=4k >> bootprog
    1.21  	chmod +x bootprog
    1.22  }
    1.23