cookutils diff modules/pack @ rev 1150

Show recent broken packages first
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 19 15:32:45 2022 +0000 (2022-02-19)
parents 6867a12b73aa
children
line diff
     1.1 --- a/modules/pack	Sat Feb 02 13:36:54 2019 +0200
     1.2 +++ b/modules/pack	Sat Feb 19 15:32:45 2022 +0000
     1.3 @@ -718,7 +718,8 @@
     1.4  
     1.5  	# Build fs cpio archive
     1.6  	action 'Compressing the FS...'
     1.7 -	find fs -newer $receipt -exec touch -hr $receipt '{}' \;
     1.8 +	newest="$(find receipt stuff 2>/dev/null | xargs ls -td | sed q)"
     1.9 +	find fs -newer $newest -exec touch -hr $newest '{}' \;
    1.10  #	find fs | cpio -o -H newc --quiet | lzma-alone e fs.cpio.lzma -si
    1.11  	find fs | cpio -o -H newc --quiet | /bin/lzma -qzeT0 >fs.cpio.lzma
    1.12  	mv fs ../