summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-11-19 11:32:26 +0100
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-11-19 21:43:34 +0100
commit867683022318ff061e52b31229f7850d2ca84e11 (patch)
tree199c7ce52f14e24232a394cb15fca831c1e7d3e8
parentfcb77d51d47a754f4b53e2da11be2562fd3f0304 (diff)
downloadbuildroot-867683022318ff061e52b31229f7850d2ca84e11.tar.gz
buildroot-867683022318ff061e52b31229f7850d2ca84e11.zip
package/pkg-luarocks: drop flock at installation time
In commit 22b327fc743b48a33aec0a9190bd67118641b294 ("pkg-luarocks: fix top-level parallel makefile support"), a flock on $(TARGET_DIR) was added to ensure that two Luarocks packages are not installed at the same time. However, to support top-level parallel build, we have now clearly decided that per-package folders is a requirement. Therefore, TARGET_DIR is anyway going to be different for each package, making this flock unnecessary. Trying to use top-level parallel build without per-package folder is simply not supported, so this commit drops the unnecessary flock. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Acked-by: Francois Perrad <francois.perrad@gadz.org>
-rw-r--r--package/pkg-luarocks.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/pkg-luarocks.mk b/package/pkg-luarocks.mk
index 29c5e66cd1..f0985433b7 100644
--- a/package/pkg-luarocks.mk
+++ b/package/pkg-luarocks.mk
@@ -63,7 +63,7 @@ endif
#
ifndef $(2)_INSTALL_TARGET_CMDS
define $(2)_INSTALL_TARGET_CMDS
- cd $$($(2)_SRCDIR) && $$(LUAROCKS_RUN_ENV) flock $$(TARGET_DIR) \
+ cd $$($(2)_SRCDIR) && $$(LUAROCKS_RUN_ENV) \
$$(LUAROCKS_RUN_CMD) make --keep $$($(2)_ROCKSPEC) $$($(2)_BUILD_OPTS)
endef
endif
OpenPOWER on IntegriCloud