summaryrefslogtreecommitdiffstats
path: root/scripts/lib/ptxd_lib_dgen.awk
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2016-06-30 17:45:34 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-07-01 08:19:48 +0200
commite18b0c8f3ac765e0373a1c33140afee0b59f07b4 (patch)
tree49d44d0a83a0d01c08b03df9a0393fd9f8142af5 /scripts/lib/ptxd_lib_dgen.awk
parentc31329138b0b8c08286c0a7540a748fe9208778e (diff)
downloadptxdist-e18b0c8f3ac765e0373a1c33140afee0b59f07b4.tar.gz
ptxdist-e18b0c8f3ac765e0373a1c33140afee0b59f07b4.tar.xz
host-dummy-install-info: new package
For each package with info pages, install-info creates '<pkgdir>/<prefix>/share/info/dir'. If packages are built in parallel, then multiple install.post stages may try to create this file in <sysroot> at exactly the same time and fail. This fake install-info does nothing, so to avoid this race condition. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/lib/ptxd_lib_dgen.awk')
-rw-r--r--scripts/lib/ptxd_lib_dgen.awk2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/lib/ptxd_lib_dgen.awk b/scripts/lib/ptxd_lib_dgen.awk
index f71a12bc4..bbf8aaddd 100644
--- a/scripts/lib/ptxd_lib_dgen.awk
+++ b/scripts/lib/ptxd_lib_dgen.awk
@@ -377,6 +377,8 @@ function write_deps_pkg_active(this_PKG, this_pkg, prefix) {
# add deps to virtual pkgs
#
function write_deps_pkg_active_virtual(this_PKG, this_pkg, prefix) {
+ if (this_pkg ~ /^host-dummy-install-info$/)
+ return;
if (this_pkg ~ /^host-pkg-config$/)
return;
if (this_pkg ~ /^host-chrpath$/)