Skip to contentSkip to conversation

util-linux: fix parallel build issue

PATCH New Robert Yang 1 participant 2 messages Apr 4, 2014

lore
Share & tools
lore
#0 lore raw

cover util-linux: fix parallel build issue

The following changes since commit aa94e142fb06cf36be603f6d9a9f1009c8b4f319:

useradd_base.bbclass: avoid the traffic crowding (2014-04-04 15:36:09 +0800)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib rbt/util-linux
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/util-linux

Robert Yang (1):
util-linux: fix parallel build issue

 .../util-linux/util-linux/fix-parallel-build.patch | 35 ++++++++++++++++++++++
 meta/recipes-core/util-linux/util-linux_2.24.1.bb  |  1 +
 2 files changed, 36 insertions(+)
 create mode 100644 meta/recipes-core/util-linux/util-linux/fix-parallel-build.patch
Signature · 1 line
1.8.3.1
#1 lore raw

PATCH 1/1 util-linux: fix parallel build issue

The rule SETARCH_MAN_LINKS is used for the files under the sys-utils dir, for example:

echo ".so man8/setarch.8" > sys-utils/linux32.8

but it depends on nothing so that the sys-utils dir may not exist, we can create the sys-utils dir to fix problem.

[YOCTO #6115]

---
 .../util-linux/util-linux/fix-parallel-build.patch | 35 ++++++++++++++++++++++
 meta/recipes-core/util-linux/util-linux_2.24.1.bb  |  1 +
 2 files changed, 36 insertions(+)
 create mode 100644 meta/recipes-core/util-linux/util-linux/fix-parallel-build.patch
meta/recipes-core/util-linux/util-linux/fix-parallel-build.patch new file +35 -0
new file mode 100644
index 0000000..adb271c
@@ -0,0 +1,35 @@
+From 774f55f9dd22c01e4041a183d8dff14811f29114 Mon Sep 17 00:00:00 2001
+From: Robert Yang <[email protected]>
+Date: Fri, 4 Apr 2014 17:33:04 +0800
+Subject: [PATCH] sys-utils/Makemodule.am: fix parallel build issue
+
+The rule SETARCH_MAN_LINKS is used for the files under the sys-utils
+dir, for example:
+
+echo ".so man8/setarch.8" > sys-utils/linux32.8
+
+but it depends on nothing so that the sys-utils dir may not exist, we
+can create the sys-utils dir to fix problem.
+
+Upstream-Status: Pending
+
+Signed-off-by: Robert Yang <[email protected]>
+---
+ sys-utils/Makemodule.am | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/sys-utils/Makemodule.am b/sys-utils/Makemodule.am
+index 6265282..62ead37 100644
+--- a/sys-utils/Makemodule.am
++++ b/sys-utils/Makemodule.am
+@@ -124,6 +124,7 @@ man_MANS += $(SETARCH_MAN_LINKS)
+ CLEANFILES += $(SETARCH_MAN_LINKS)
+ 
+ $(SETARCH_MAN_LINKS):
++	$(MKDIR_P) sys-utils
+ 	$(AM_V_GEN)echo ".so man8/setarch.8" > $@
+ 
+ install-exec-hook-setarch:
+-- 
+1.8.2.1
+
meta/recipes-core/util-linux/util-linux_2.24.1.bb +1 -0
index ab80ab6..8b6a1ce 100644
@@ -13,6 +13,7 @@ SRC_URI += "file://util-linux-ng-replace-siginterrupt.patch \
             file://uclibc-__progname-conflict.patch \
             file://configure-sbindir.patch \
             file://fix-configure.patch \
+            file://fix-parallel-build.patch \
             ${OLDHOST} \
 "
 
Signature · 1 line
1.8.3.1