summaryrefslogtreecommitdiffstats
path: root/scripts/lib/ptxd_make_world_install.sh
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2015-05-22 17:59:05 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2015-05-26 07:21:41 +0200
commitde9ae536658065c3994cb3099b8a437c730e3b8b (patch)
treea30be457261b9af07b30d57c14dd8c879ce08172 /scripts/lib/ptxd_make_world_install.sh
parentb6f9a55b3ddc526a136b9616a244db6f050e9a41 (diff)
downloadptxdist-de9ae536658065c3994cb3099b8a437c730e3b8b.tar.gz
ptxdist-de9ae536658065c3994cb3099b8a437c730e3b8b.tar.xz
ptxd_make_world_install: explicitly check if host-fakeroot is installed before using it
Otherwise fakeroot can fail in parallel build when it is used before it is completely installed. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/lib/ptxd_make_world_install.sh')
-rw-r--r--scripts/lib/ptxd_make_world_install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_world_install.sh b/scripts/lib/ptxd_make_world_install.sh
index 13e73dfd1..b4f4647f3 100644
--- a/scripts/lib/ptxd_make_world_install.sh
+++ b/scripts/lib/ptxd_make_world_install.sh
@@ -37,7 +37,7 @@ ptxd_make_world_install() {
# fakeroot is a host pkg and
# might not be available, yet
#
- if ! eval "${pkg_path}" which fakeroot > /dev/null; then
+ if [ ! -e "${ptx_state_dir}/host-fakeroot.install.post" ]; then
local echo="eval"
local fakeroot="cat"
fi &&