tazlito rev 243
tazlito gen-distro: remove package index files
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 23 21:35:31 2012 +0100 (2012-02-23) |
parents | 505384ba4a17 |
children | f357b89418e8 |
files | tazlito |
line diff
1.1 --- a/tazlito Thu Feb 23 21:14:45 2012 +0100 1.2 +++ b/tazlito Thu Feb 23 21:35:31 2012 +0100 1.3 @@ -2033,6 +2033,7 @@ 1.4 yes y | tazpkg install $pkg --root=$ROOTFS 2>&1 >> $log || exit 1 1.5 status 1.6 done 1.7 + rm -f $ROOTFS/var/lib/tazpkg/packages.* 1.8 cd $DISTRO 1.9 cp distro-packages.list $ROOTFS/etc/tazlito 1.10 # Copy all files from $ADDFILES/rootfs to the rootfs. 1.11 @@ -2090,7 +2091,7 @@ 1.12 cd $PACKAGES_REPOSITORY 1.13 yes y | tazpkg install-list \ 1.14 $DISTRO/list-packages0$n --root=${ROOTFS}0$n 1.15 - rm -rf ${ROOTFS}0$n/boot 1.16 + rm -rf ${ROOTFS}0$n/boot ${ROOTFS}0$n/var/lib/tazpkg/packages.* 1.17 status 1.18 cd $DISTRO 1.19 if [ -s $flavor.rootfs ]; then