[oe-commits] Joe Slater : arptables: defeat multi-job for install
git at git.openembedded.org
git at git.openembedded.org
Fri Feb 15 03:52:51 UTC 2013
Module: meta-openembedded.git
Branch: master
Commit: 5346f2f092e6f6d52bbb225f482fbe054bdbe19b
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=5346f2f092e6f6d52bbb225f482fbe054bdbe19b
Author: Joe Slater <jslater at windriver.com>
Date: Thu Feb 14 13:40:04 2013 -0800
arptables: defeat multi-job for install
CQID: 399299
The make install target is not parallel job
safe, but doesn't do all that much, so we
limit make to one job for that.
The make target is of the form
install: x y z
Unfortunately, z depends on y, so if z is started
before y (almost) completes, we will fail.
Signed-off-by: Joe Slater <jslater at windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald at windriver.com>
---
.../recipes-support/arptables/arptables_0.0.3-4.bb | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/meta-networking/recipes-support/arptables/arptables_0.0.3-4.bb b/meta-networking/recipes-support/arptables/arptables_0.0.3-4.bb
index 2faccec..86b900a 100644
--- a/meta-networking/recipes-support/arptables/arptables_0.0.3-4.bb
+++ b/meta-networking/recipes-support/arptables/arptables_0.0.3-4.bb
@@ -3,6 +3,8 @@ PRIORITY = "optional"
LICENSE = "GPL-2.0"
SECTION = "console/network"
+PR = "r2"
+
RDEPENDS_${PN} += "perl"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
@@ -20,6 +22,11 @@ do_compile () {
oe_runmake
}
+# the install target is not multi-job safe, but it doesn't do much
+# so we just install serially
+#
+PARALLEL_MAKEINST = "-j1"
+
fakeroot do_install () {
oe_runmake 'BINDIR=${sbindir}' 'MANDIR=${mandir}/' 'DESTDIR=${D}' install
}
More information about the Openembedded-commits
mailing list