tazwok rev 443

tazwok, configure_tazchroot(): setup chroot'ed /etc/slitaz-release to make tazlito works correctly
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Mar 15 00:23:25 2011 +0100 (2011-03-15)
parents d2189908cd1b
children d1f0d5d127a7
files tazwok
line diff
     1.1 --- a/tazwok	Mon Mar 14 23:39:19 2011 +0100
     1.2 +++ b/tazwok	Tue Mar 15 00:23:25 2011 +0100
     1.3 @@ -2234,6 +2234,7 @@
     1.4  	sed -e "s~^SLITAZ_DIR=.*~SLITAZ_DIR=\$SLITAZ_DIR~" \\
     1.5  		-e "s/^SLITAZ_VERSION=.*/SLITAZ_VERSION=\$SLITAZ_VERSION/" \\
     1.6  		-i \$chroot_dir/etc/slitaz/slitaz.conf
     1.7 +	echo \$SLITAZ_VERSION > \$chroot_dir/etc/slitaz-release
     1.8  $( [ "$undigest" ] && echo '	echo "undigest='"$undigest"'" >> $chroot_dir/etc/slitaz/tazwok.conf')
     1.9  	sed 's/LC_ALL/LC_ALL=POSIX/' -i \$chroot_dir/etc/profile
    1.10  	# The build bot may run in a sandbox: link sandbox lockfile.