tazlito rev 80

tazlito: package list with .tazpkg extention
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jul 14 23:42:24 2008 +0000 (2008-07-14)
parents cf1e7955349a
children 4e480de98ac0
files tazlito
line diff
     1.1 --- a/tazlito	Mon Jul 14 21:35:36 2008 +0000
     1.2 +++ b/tazlito	Mon Jul 14 23:42:24 2008 +0000
     1.3 @@ -846,11 +846,13 @@
     1.4  			done
     1.5  		fi
     1.6  		echo ""
     1.7 -		cp $LIST_NAME $ROOTFS/etc/tazlito/distro-packages.list
     1.8 +		cp $LIST_NAME $DISTRO/distro-packages.list
     1.9 +		sed 's/\(.*\)/\1.tazpkg/' < $DISTRO/distro-packages.list > $DISTRO/list-packages
    1.10  		cd $PACKAGES_REPOSITORY
    1.11  		yes y | tazpkg install-list \
    1.12 -			$ROOTFS/etc/tazlito/distro-packages.list --root=$ROOTFS
    1.13 +			$DISTRO/list-packages --root=$ROOTFS
    1.14  		cd $DISTRO
    1.15 +		cp distro-packages.list $ROOTFS/etc/tazlito
    1.16  		# Copy all files from $ADDFILES/rootfs to the rootfs.
    1.17  		if [ -d "$ADDFILES/rootfs" ] ; then
    1.18  			echo -n "Copying addfiles content to the rootfs... "