# HG changeset patch # User Aleksej Bobylev # Date 1504869886 -10800 # Node ID f399e0ab8101a778598d85b7bd8116a3771559fa # Parent 8a23ad1f4426ae4183dd6589d2023f7fb45a4470 tazlito: fix previous commit diff -r 8a23ad1f4426 -r f399e0ab8101 tazlito --- a/tazlito Fri Sep 08 14:14:08 2017 +0300 +++ b/tazlito Fri Sep 08 14:24:46 2017 +0300 @@ -1535,6 +1535,7 @@ # initial tazpkg setup in empty rootfs tazpkg --root=$rootfs >/dev/null 2>&1 # pass current 'mirror' to the rootfs + mkdir -p $rootfs/var/lib/tazpkg $rootfs/etc cp -f /var/lib/tazpkg/mirror $rootfs/var/lib/tazpkg/mirror cp -f /etc/slitaz-release $rootfs/etc/slitaz-release # link rootfs packages cache to the regular packages cache @@ -2281,7 +2282,7 @@ mkdir -p "$ROOTFS" export root="$ROOTFS" # pass current 'mirror' to the root - mkdir -p $root/var/lib/tazpkg + mkdir -p $root/var/lib/tazpkg $root/etc cp -f /var/lib/tazpkg/mirror $root/var/lib/tazpkg/mirror cp -f /etc/slitaz-release $root/etc/slitaz-release strip_versions "$LIST_NAME"