]> code.ossystems Code Review - meta-freescale.git/commitdiff
lxc_0.8.0-rc1.bb: fix parallel makefile issue
authorMatthew McClintock <msm@freescale.com>
Mon, 22 Oct 2012 18:21:30 +0000 (13:21 -0500)
committerMatthew McClintock <msm@freescale.com>
Tue, 4 Dec 2012 19:16:52 +0000 (13:16 -0600)
Signed-off-by: Matthew McClintock <msm@freescale.com>
meta-fsl-ppc/recipes-tools/lxc/files/fix_setns_deps.patch [new file with mode: 0644]
meta-fsl-ppc/recipes-tools/lxc/lxc_0.8.0-rc1.bb

diff --git a/meta-fsl-ppc/recipes-tools/lxc/files/fix_setns_deps.patch b/meta-fsl-ppc/recipes-tools/lxc/files/fix_setns_deps.patch
new file mode 100644 (file)
index 0000000..7ec875c
--- /dev/null
@@ -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
index accc16f98d425ed95f4eaa4844d61888985030f2..510093731dc4fdb0651549f5841cf4629fe55966 100644 (file)
@@ -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"