summaryrefslogtreecommitdiff
path: root/baserock-bootstrap
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-01-19 16:04:00 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-01-19 16:04:00 +0000
commitbce0e08db8f0d2aa8d0c617b50b61336b575bfde (patch)
tree0736b72b48f2db6c868f718ea85d660c7d11a7ed /baserock-bootstrap
parent77005d544f1583f622bd8831c26d38e03c2e1ba1 (diff)
downloadmorph-bce0e08db8f0d2aa8d0c617b50b61336b575bfde.tar.gz
force a PATH that has /tools at the end
Diffstat (limited to 'baserock-bootstrap')
-rwxr-xr-xbaserock-bootstrap2
1 files changed, 2 insertions, 0 deletions
diff --git a/baserock-bootstrap b/baserock-bootstrap
index eb7fb925..b580c6db 100755
--- a/baserock-bootstrap
+++ b/baserock-bootstrap
@@ -783,6 +783,7 @@ set -x
#/tools/bin/ldconfig -f /etc/ld.so.conf -C /etc/ld.so.cache
cd /baserock/gits/morph
mkdir -p /baserock/cache
+export PATH="/usr/bin:/bin:$tools/bin:$tools/sbin:"
python ./morph --verbose build \
file:///baserock/gits/morphs/ master linux-stratum.morph \
file:///baserock/gits/morphs/ master foundation.morph \
@@ -792,6 +793,7 @@ python ./morph --verbose build \
--log=/baserock/morph.log \
--dump-memory-profile=none \
--max-jobs=1 \
+ --keep-path \
--git-base-url=file:///baserock/gits/
EOF
$HOST_CHMOD +x "$LFS/baserock/build.sh"