# HG changeset patch # User Aleksej Bobylev # Date 1503738306 -10800 # Node ID c6ab9a1005489579a4400283cab4dda13f32f062 # Parent d67c3806871698f307d77ee08bd07e8ec8fc1f8e tazlito: pass current 'mirror' to rootfs: ISO prepared in cooking environment will be cooking, in next - will be next... diff -r d67c38068716 -r c6ab9a100548 tazlito --- a/tazlito Sat Aug 19 11:29:06 2017 +0200 +++ b/tazlito Sat Aug 26 12:05:06 2017 +0300 @@ -1529,6 +1529,8 @@ # initial tazpkg setup in empty rootfs tazpkg --root=$rootfs >/dev/null 2>&1 + # pass current 'mirror' to the rootfs + cp -f /var/lib/tazpkg/mirror $rootfs/var/lib/tazpkg/mirror # link rootfs packages cache to the regular packages cache rm -r "$rootfs/var/cache/tazpkg" ln -s /var/cache/tazpkg "$rootfs/var/cache/tazpkg" @@ -2272,6 +2274,9 @@ echo 'Preparing the rootfs directory...' mkdir -p "$ROOTFS" export root="$ROOTFS" + # pass current 'mirror' to the root + mkdir -p $root/var/lib/tazpkg + cp -f /var/lib/tazpkg/mirror $root/var/lib/tazpkg/mirror strip_versions "$LIST_NAME" if [ "$REPACK" == 'y' ]; then