summaryrefslogtreecommitdiff
path: root/baserock-bootstrap
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-02-17 11:40:39 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-02-17 11:40:39 +0000
commit2752144a7689754ca8e47966f367db9df6c1a274 (patch)
tree34d4286208ae7546c7ef4ec54fd1be814b48e023 /baserock-bootstrap
parent2471b867a96c59faac537b25f6c6c726d87d6c0d (diff)
downloadmorph-2752144a7689754ca8e47966f367db9df6c1a274.tar.gz
baserock-bootstrap: keep git cache between stages
The git cache is currently under the chunk cache, so moving the chunk cache moves the gits. We don't want to have to do that all again. Also added quotes in case $LFS ever has spaces in it
Diffstat (limited to 'baserock-bootstrap')
-rwxr-xr-xbaserock-bootstrap7
1 files changed, 4 insertions, 3 deletions
diff --git a/baserock-bootstrap b/baserock-bootstrap
index 4cd5dd60..b97be062 100755
--- a/baserock-bootstrap
+++ b/baserock-bootstrap
@@ -940,9 +940,10 @@ pass3_build_with_morph_in_chroot()
{
echo "Building Baserock with morph"
- cd $LFS/baserock/gits/morph
- mv $LFS/baserock/cache $LFS/baserock/cache.pass2
- mkdir $LFS/baserock/cache
+ cd "$LFS/baserock/gits/morph"
+ mv "$LFS/baserock/cache" "$LFS/baserock/cache.pass2"
+ mkdir "$LFS/baserock/cache"
+ mv "$LFS/baserock/cache.pass2/gits" "$LFS/baserock/cache/gits"
cat <<EOF > "$LFS/baserock/build_pass3.sh"
#!/bin/bash