summaryrefslogtreecommitdiff
path: root/run-bootstrap-in-chroot
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-02-09 15:47:57 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-02-09 16:06:17 +0000
commit0fccdd1a779c05166a6e894eb640e9ece5cf6dc6 (patch)
tree34a1ac76d284767220b8261cd204cc81e5280b1b /run-bootstrap-in-chroot
parentdc1605dd7b0131d24607c4dc44a3fe730918d209 (diff)
downloadmorph-0fccdd1a779c05166a6e894eb640e9ece5cf6dc6.tar.gz
Copy only the morph repository into the bootstrap chroot
Diffstat (limited to 'run-bootstrap-in-chroot')
-rwxr-xr-xrun-bootstrap-in-chroot3
1 files changed, 2 insertions, 1 deletions
diff --git a/run-bootstrap-in-chroot b/run-bootstrap-in-chroot
index f457757e..49162c91 100755
--- a/run-bootstrap-in-chroot
+++ b/run-bootstrap-in-chroot
@@ -99,7 +99,8 @@ fi
# Update the git repos.
mkdir -p "$dir/tree/baserock"
rm -rf "$dir/tree/baserock/gits"
-cp -rl "$GITS" "$dir/tree/baserock/gits"
+mkdir "$dir/tree/baserock/gits"
+cp -r "$GITS/morph" "$dir/tree/baserock/gits/."
# Run pass2 of bootstrap. This actually runs pass1 too, but quickly, since
# it's already built.