# HG changeset patch # User Antoine Bodin # Date 1300145005 -3600 # Node ID 085731101938981ad5bbaedab3a00055dffa0ce1 # Parent d2189908cd1b69d6191d828c71b4dff69fccd236 tazwok, configure_tazchroot(): setup chroot'ed /etc/slitaz-release to make tazlito works correctly diff -r d2189908cd1b -r 085731101938 tazwok --- a/tazwok Mon Mar 14 23:39:19 2011 +0100 +++ b/tazwok Tue Mar 15 00:23:25 2011 +0100 @@ -2234,6 +2234,7 @@ sed -e "s~^SLITAZ_DIR=.*~SLITAZ_DIR=\$SLITAZ_DIR~" \\ -e "s/^SLITAZ_VERSION=.*/SLITAZ_VERSION=\$SLITAZ_VERSION/" \\ -i \$chroot_dir/etc/slitaz/slitaz.conf + echo \$SLITAZ_VERSION > \$chroot_dir/etc/slitaz-release $( [ "$undigest" ] && echo ' echo "undigest='"$undigest"'" >> $chroot_dir/etc/slitaz/tazwok.conf') sed 's/LC_ALL/LC_ALL=POSIX/' -i \$chroot_dir/etc/profile # The build bot may run in a sandbox: link sandbox lockfile.