summaryrefslogtreecommitdiff
path: root/run-bootstrap-in-chroot
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-02-09 16:02:40 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-02-09 16:06:17 +0000
commite8d4636358097f5b23acc7bcea65d9b4ea474d6a (patch)
treecd5bd3bb31e73dcdc522965a3993f018728fefd4 /run-bootstrap-in-chroot
parent0fccdd1a779c05166a6e894eb640e9ece5cf6dc6 (diff)
downloadmorph-e8d4636358097f5b23acc7bcea65d9b4ea474d6a.tar.gz
Copy current working directory (= morph repo) into chroot
The bootstrapping can, for now, only be run from the git repo anyway, so we might as well copy just that into the bootstrap chroot. Everything else will be accessed via git from the git server.
Diffstat (limited to 'run-bootstrap-in-chroot')
-rwxr-xr-xrun-bootstrap-in-chroot4
1 files changed, 2 insertions, 2 deletions
diff --git a/run-bootstrap-in-chroot b/run-bootstrap-in-chroot
index 49162c91..7485b7b0 100755
--- a/run-bootstrap-in-chroot
+++ b/run-bootstrap-in-chroot
@@ -36,7 +36,6 @@ EOF
fi
if ([ "x$DEBIAN_MIRROR" = x ] && echo DEBIAN_MIRROR is unspecified >&2) ||
- ([ "x$GITS" = x ] && echo GITS is unspecified >&2) ||
([ "x$GIT_BUNDLES" = x ] && echo GIT_BUNDLES is unspecified >&2) ||
([ "x$LFS_MIRROR" = x ] && echo LFS_MIRROR is unspecified >&2)
then
@@ -100,7 +99,8 @@ fi
mkdir -p "$dir/tree/baserock"
rm -rf "$dir/tree/baserock/gits"
mkdir "$dir/tree/baserock/gits"
-cp -r "$GITS/morph" "$dir/tree/baserock/gits/."
+mkdir "$dir/tree/baserock/gits/morph"
+cp -r . "$dir/tree/baserock/gits/morph/."
# Run pass2 of bootstrap. This actually runs pass1 too, but quickly, since
# it's already built.