[meta-freescale] [PATCH 15/27] lxc_0.8.0-rc1.bb: fix parallel makefile issue

Matthew McClintock msm at freescale.com
Thu Nov 29 11:15:39 PST 2012


Signed-off-by: Matthew McClintock <msm at freescale.com>
---
 recipes-tools/lxc/files/fix_setns_deps.patch |   12 ++++++++++++
 recipes-tools/lxc/lxc_0.8.0-rc1.bb           |    3 ++-
 2 files changed, 14 insertions(+), 1 deletion(-)
 create mode 100644 recipes-tools/lxc/files/fix_setns_deps.patch

diff --git a/recipes-tools/lxc/files/fix_setns_deps.patch b/recipes-tools/lxc/files/fix_setns_deps.patch
new file mode 100644
index 0000000..7ec875c
--- /dev/null
+++ b/recipes-tools/lxc/files/fix_setns_deps.patch
@@ -0,0 +1,12 @@
+Index: lxc-0.8.0-rc1/src/lxc/Makefile.am
+===================================================================
+--- lxc-0.8.0-rc1.orig/src/lxc/Makefile.am
++++ lxc-0.8.0-rc1/src/lxc/Makefile.am
+@@ -133,6 +133,7 @@ uninstall-local:
+ 	$(RM) $(DESTDIR)$(libdir)/liblxc.so*
+ 
+ namespace.c: setns.h
++attach.c: setns.h
+ 
+ setns.h:
+ 	-$(CC) $(CPPFLAGS) -M -MT$@ $(LINUX_DIR)/arch/$(LINUX_SRCARCH)/include/asm/unistd.h >setns.P
diff --git a/recipes-tools/lxc/lxc_0.8.0-rc1.bb b/recipes-tools/lxc/lxc_0.8.0-rc1.bb
index accc16f..5100937 100644
--- a/recipes-tools/lxc/lxc_0.8.0-rc1.bb
+++ b/recipes-tools/lxc/lxc_0.8.0-rc1.bb
@@ -3,7 +3,7 @@ SECTION = "console/utils"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
 PRIORITY = "optional"
-PR = "r5"
+PR = "r6"
 DEPENDS = "libxml2 libcap virtual/kernel"
 RDEPENDS_${PN} = " \
 		rsync \
@@ -24,6 +24,7 @@ SRC_URI = "http://lxc.sourceforge.net/download/lxc/${PN}-${PV}.tar.gz \
 	file://libmounts.patch \
 	file://busybox_remove_dhcp.patch \
 	file://remove_vlan_hwaddr.patch \
+	file://fix_setns_deps.patch \
 	"
 
 SRC_URI[md5sum] ="06ceecf4dbe1be988fc903ad8dd34d29"
-- 
1.7.9.7





More information about the meta-freescale mailing list