summaryrefslogtreecommitdiff
path: root/baserock-bootstrap
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-01-05 16:55:40 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-01-05 16:55:40 +0000
commit7632fac920487421139bc7f2cbf6d2e84ef7ef7b (patch)
treea180d33feb7c00a44b30f1681774f029d7922b3c /baserock-bootstrap
parent7135e285a830f8801e7602f77e18f1427f345414 (diff)
downloadmorph-7632fac920487421139bc7f2cbf6d2e84ef7ef7b.tar.gz
Remove LD_LIBRARY_PATH from chroot, it wasn't passed to build anyway
Diffstat (limited to 'baserock-bootstrap')
-rwxr-xr-xbaserock-bootstrap2
1 files changed, 0 insertions, 2 deletions
diff --git a/baserock-bootstrap b/baserock-bootstrap
index 08cc4027..f733b000 100755
--- a/baserock-bootstrap
+++ b/baserock-bootstrap
@@ -796,11 +796,9 @@ if ! mount | grep "$LFS/sys" >/dev/null
then
$HOST_SUDO mount -t sysfs sysfs "$LFS/sys"
fi
-ldpath="/lib:/lib64:/usr/lib:/usr/lib64:/tools/lib:/tools/lib64"
$HOST_SUDO /usr/sbin/chroot "$LFS" \
/tools/bin/env -i HOME=/baserock TERM=\$TERM \
PATH="/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin" \
- LD_LIBRARY_PATH="\$ldpath" \
BOOTSTRAP_TOOLS="$LFS/tools" \
"\$@"
$HOST_SUDO umount "$LFS/proc" "$LFS/sys"