tazlito rev 452

may recompress addfiles (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 01 10:28:53 2017 +0200 (2017-05-01)
parents 39b41dd1779e
children d9efb0f8132a
files tazlito
line diff
     1.1 --- a/tazlito	Mon May 01 10:23:56 2017 +0200
     1.2 +++ b/tazlito	Mon May 01 10:28:53 2017 +0200
     1.3 @@ -1857,7 +1857,6 @@
     1.4  		for i in rootcd rootfs; do
     1.5  			if [ -d "$ADDFILES/$i" ] ; then
     1.6  				FILES="$FILES\n$FLAVOR.$i"
     1.7 -				find "$ADDFILES/$i" -print0 | xargs -0 touch -t 197001010100.00
     1.8  				( cd "$ADDFILES/$i"; find . ) | cpio -o -H newc 2>/dev/null | dogzip $FLAVOR.$i
     1.9  			fi
    1.10  		done
    1.11 @@ -1891,6 +1890,7 @@
    1.12  			[ -s $i ] && cat $i >> $FLAVOR.mirrors
    1.13  		done
    1.14  		[ -s $FLAVOR.mirrors ] && $FILES="$FILES\n$FLAVOR.mirrors"
    1.15 +		touch -t 197001010100.00 $FLAVOR.*
    1.16  		echo -e "$FLAVOR.desc\n$FILES" | cpio -o -H newc 2>/dev/null | dogzip $FLAVOR.flavor
    1.17  		rm $(echo -e $FILES)
    1.18  		status