diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-06-30 17:45:34 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-07-01 08:19:48 +0200 |
commit | e18b0c8f3ac765e0373a1c33140afee0b59f07b4 (patch) | |
tree | 49d44d0a83a0d01c08b03df9a0393fd9f8142af5 /rules/host-dummy-install-info.make | |
parent | c31329138b0b8c08286c0a7540a748fe9208778e (diff) | |
download | ptxdist-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 'rules/host-dummy-install-info.make')
-rw-r--r-- | rules/host-dummy-install-info.make | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/rules/host-dummy-install-info.make b/rules/host-dummy-install-info.make new file mode 100644 index 000000000..ea19d8804 --- /dev/null +++ b/rules/host-dummy-install-info.make @@ -0,0 +1,26 @@ +# -*-makefile-*- +# +# Copyright (C) 2016 by Michael Olbrich <m.olbrich@pengutronix.de> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +HOST_PACKAGES-$(PTXCONF_HOST_DUMMY_INSTALL_INFO) += host-dummy-install-info +HOST_DUMMY_INSTALL_INFO_LICENSE := ignore + +# ---------------------------------------------------------------------------- +# Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/host-dummy-install-info.install: + @$(call targetinfo) + @ln -sfv /bin/true $(PTXDIST_SYSROOT_HOST)/bin/install-info + @$(call touch) + +# vim: syntax=make |