tazwok rev 454 4.3
cook-toolchain: fix a bug which prevent to cook-toolchain
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Mar 15 23:07:53 2011 +0100 (2011-03-15) |
parents | 6965bba4c04c |
children | de05604eadb9 |
files | chroot-scripts/cook-toolchain |
line diff
1.1 --- a/chroot-scripts/cook-toolchain Tue Mar 15 23:02:45 2011 +0100 1.2 +++ b/chroot-scripts/cook-toolchain Tue Mar 15 23:07:53 2011 +0100 1.3 @@ -18,12 +18,6 @@ 1.4 report step "Cooking temporary toolchain" 1.5 report open-bloc 1.6 1.7 -report step "Configuring repositories" 1.8 -# Incoming packages as the only source for packages. 1.9 -rm -r /var/lib/tazpkg/undigest 1.10 -tazpkg setup-mirror $SLITAZ_DIR/${undigest:-$SLITAZ_VERSION}/packages-incoming 1.11 -tazpkg recharge 1.12 - 1.13 report step "Refreshing SliTaz tools" 1.14 report open-bloc 1.15 # These four packages will be needed later. 1.16 @@ -32,6 +26,12 @@ 1.17 done 1.18 report close-bloc 1.19 1.20 +report step "Configuring repositories" 1.21 +# Incoming packages as the only source for packages. 1.22 +rm -r /var/lib/tazpkg/undigest 1.23 +tazpkg setup-mirror $SLITAZ_DIR/${undigest:-$SLITAZ_VERSION}/packages-incoming 1.24 +tazpkg recharge 1.25 + 1.26 report step "Setting up environnement" 1.27 set +h 1.28 umask 022