cookutils diff modules/pack @ rev 1146

cook: allow built in aufs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 28 07:28:04 2020 +0000 (2020-07-28)
parents 6867a12b73aa
children
line diff
     1.1 --- a/modules/pack	Sat Feb 02 13:36:54 2019 +0200
     1.2 +++ b/modules/pack	Tue Jul 28 07:28:04 2020 +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 ../