tazlito rev 461

tazlito: fix previous commit
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Sep 08 14:24:46 2017 +0300 (2017-09-08)
parents 8a23ad1f4426
children 5b155e5b82a0
files tazlito
line diff
     1.1 --- a/tazlito	Fri Sep 08 14:14:08 2017 +0300
     1.2 +++ b/tazlito	Fri Sep 08 14:24:46 2017 +0300
     1.3 @@ -1535,6 +1535,7 @@
     1.4  	# initial tazpkg setup in empty rootfs
     1.5  	tazpkg --root=$rootfs >/dev/null 2>&1
     1.6  	# pass current 'mirror' to the rootfs
     1.7 +	mkdir -p $rootfs/var/lib/tazpkg $rootfs/etc
     1.8  	cp -f /var/lib/tazpkg/mirror $rootfs/var/lib/tazpkg/mirror
     1.9  	cp -f /etc/slitaz-release    $rootfs/etc/slitaz-release
    1.10  	# link rootfs packages cache to the regular packages cache
    1.11 @@ -2281,7 +2282,7 @@
    1.12  		mkdir -p "$ROOTFS"
    1.13  		export root="$ROOTFS"
    1.14  		# pass current 'mirror' to the root
    1.15 -		mkdir -p $root/var/lib/tazpkg
    1.16 +		mkdir -p $root/var/lib/tazpkg $root/etc
    1.17  		cp -f /var/lib/tazpkg/mirror $root/var/lib/tazpkg/mirror
    1.18  		cp -f /etc/slitaz-release    $root/etc/slitaz-release
    1.19  		strip_versions "$LIST_NAME"