tazlito rev 459
tazlito: pass current 'mirror' to rootfs: ISO prepared in cooking environment will be cooking, in next - will be next...
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Aug 26 12:05:06 2017 +0300 (2017-08-26) |
parents | d67c38068716 |
children | 8a23ad1f4426 |
files | tazlito |
line diff
1.1 --- a/tazlito Sat Aug 19 11:29:06 2017 +0200 1.2 +++ b/tazlito Sat Aug 26 12:05:06 2017 +0300 1.3 @@ -1529,6 +1529,8 @@ 1.4 1.5 # initial tazpkg setup in empty rootfs 1.6 tazpkg --root=$rootfs >/dev/null 2>&1 1.7 + # pass current 'mirror' to the rootfs 1.8 + cp -f /var/lib/tazpkg/mirror $rootfs/var/lib/tazpkg/mirror 1.9 # link rootfs packages cache to the regular packages cache 1.10 rm -r "$rootfs/var/cache/tazpkg" 1.11 ln -s /var/cache/tazpkg "$rootfs/var/cache/tazpkg" 1.12 @@ -2272,6 +2274,9 @@ 1.13 echo 'Preparing the rootfs directory...' 1.14 mkdir -p "$ROOTFS" 1.15 export root="$ROOTFS" 1.16 + # pass current 'mirror' to the root 1.17 + mkdir -p $root/var/lib/tazpkg 1.18 + cp -f /var/lib/tazpkg/mirror $root/var/lib/tazpkg/mirror 1.19 strip_versions "$LIST_NAME" 1.20 1.21 if [ "$REPACK" == 'y' ]; then