summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBogdan Purcareata <bogdan.purcareata@freescale.com>2014-10-02 19:01:18 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-10-02 22:57:10 -0400
commitb0745517d1d8f4b6b51bc1256344cf1db7001a53 (patch)
treeb713f0f66d9066438f035d858d6b7e94cbbd7de0
parent246fc0bfafa457b039ad3001cb47e02eb8523b24 (diff)
downloadmeta-virtualization-b0745517d1d8f4b6b51bc1256344cf1db7001a53.tar.gz
lxc: fixup VPATH builds
Rework patch 5b57bf462b41142deae0479c06f4da8e0b66bb7e [lxc: fixup VPATH builds] since the new version of LXC refactored one of the files and it no longer applies. Provide a fix for what's left. Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r--recipes-containers/lxc/files/automake-ensure-VPATH-builds-correctly.patch26
-rw-r--r--recipes-containers/lxc/lxc_1.0.6.bb1
2 files changed, 27 insertions, 0 deletions
diff --git a/recipes-containers/lxc/files/automake-ensure-VPATH-builds-correctly.patch b/recipes-containers/lxc/files/automake-ensure-VPATH-builds-correctly.patch
new file mode 100644
index 00000000..2b5c853c
--- /dev/null
+++ b/recipes-containers/lxc/files/automake-ensure-VPATH-builds-correctly.patch
@@ -0,0 +1,26 @@
1From fe23085d9a40d6d78387d9ce8ddb65785fe8d6e5 Mon Sep 17 00:00:00 2001
2From: Bogdan Purcareata <bogdan.purcareata@freescale.com>
3Date: Thu, 2 Oct 2014 18:31:50 -0400
4Subject: [PATCH] automake: ensure VPATH builds correctly
5
6Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com>
7---
8 src/tests/Makefile.am | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/src/tests/Makefile.am b/src/tests/Makefile.am
12index d74c10d..6225f78 100644
13--- a/src/tests/Makefile.am
14+++ b/src/tests/Makefile.am
15@@ -66,7 +66,7 @@ buildtest-TESTS: $(TESTS)
16 install-ptest:
17 install -d $(TEST_DIR)
18 install -D ../lxc/liblxc.so $(TEST_DIR)/../lxc/liblxc.so
19- install -D ../../config/test-driver $(TEST_DIR)/../../config/test-driver
20+ install -D $(top_srcdir)/config/test-driver $(TEST_DIR)/../../config/test-driver
21 cp Makefile $(TEST_DIR)
22 @(for file in $(TESTS); do install $$file $(TEST_DIR); done;)
23 sed -i 's|^Makefile:|_Makefile:|' $(TEST_DIR)/Makefile
24--
251.7.10.4
26
diff --git a/recipes-containers/lxc/lxc_1.0.6.bb b/recipes-containers/lxc/lxc_1.0.6.bb
index 5b1eb0aa..2d384dd6 100644
--- a/recipes-containers/lxc/lxc_1.0.6.bb
+++ b/recipes-containers/lxc/lxc_1.0.6.bb
@@ -25,6 +25,7 @@ SRC_URI = "http://linuxcontainers.org/downloads/${BPN}-${PV}.tar.gz \
25 file://lxc-1.0.0-disable-udhcp-from-busybox-template.patch \ 25 file://lxc-1.0.0-disable-udhcp-from-busybox-template.patch \
26 file://runtest.patch \ 26 file://runtest.patch \
27 file://run-ptest \ 27 file://run-ptest \
28 file://automake-ensure-VPATH-builds-correctly.patch \
28 " 29 "
29SRC_URI[md5sum] = "4aad3aee84b42faa194e44091d723a3b" 30SRC_URI[md5sum] = "4aad3aee84b42faa194e44091d723a3b"
30SRC_URI[sha256sum] = "fc6bffa750f00daaa92aa33d719c1cc235146aa779ebd2a64a0c24423977cf14" 31SRC_URI[sha256sum] = "fc6bffa750f00daaa92aa33d719c1cc235146aa779ebd2a64a0c24423977cf14"