summaryrefslogtreecommitdiff
path: root/run-bootstrap-in-chroot
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-03-15 14:28:57 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-03-15 14:28:57 +0000
commit8af6ae20a6f942a3a16a0cb561b3bc079494481a (patch)
treef8808eadb0778caf62b131a6e99c2552a4401370 /run-bootstrap-in-chroot
parent5cd3cdbe9e2b4b4f4f8396d4a6601763fc1e9d81 (diff)
downloadmorph-8af6ae20a6f942a3a16a0cb561b3bc079494481a.tar.gz
bootstrap: stop downloading lfs tarballs
Diffstat (limited to 'run-bootstrap-in-chroot')
-rwxr-xr-xrun-bootstrap-in-chroot11
1 files changed, 1 insertions, 10 deletions
diff --git a/run-bootstrap-in-chroot b/run-bootstrap-in-chroot
index 76f32cc5..9fec89d2 100755
--- a/run-bootstrap-in-chroot
+++ b/run-bootstrap-in-chroot
@@ -92,14 +92,12 @@ EOF
chmod +x "./do-squeeze-chroot"
if ([ "x$DEBIAN_MIRROR" = x ] && echo DEBIAN_MIRROR is unspecified >&2) ||
- ([ "x$GIT_BUNDLES" = x ] && echo GIT_BUNDLES is unspecified >&2) ||
- ([ "x$LFS_MIRROR" = x ] && echo LFS_MIRROR is unspecified >&2)
+ ([ "x$GIT_BUNDLES" = x ] && echo GIT_BUNDLES is unspecified >&2)
then
echo You have to set DEBIAN_MIRROR and other environment variables 1>&2
exit 1
fi
#DEBIAN_MIRROR="http://192.168.1.185/debian"
-#LFS_MIRROR=http://192.168.1.185/lfs/
# prepare the ccache directory in the chroot, if necessary
if [ "x$CCACHE_HOST_DIR" = "x" ]; then
@@ -147,13 +145,6 @@ cat <<EOF > "$dir/etc/hosts"
127.0.1.1 `hostname`
EOF
-if [ "x$LFS_MIRROR" = x ]; then
- cp wget-list "$dir/wget-list"
-else
- perl -M'Env' -lpe 's|^.*/|$LFS_MIRROR|' wget-list >"$dir/wget-list"
-fi
-
-
# Unpack existing snapshot, or run pass1 of bootstrap and then make snapshot.
if ! "$snapshot" || ! has_pass pass1b