summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-containers/lxc/files/automake-ensure-VPATH-builds-work-correctly.patch45
-rw-r--r--recipes-containers/lxc/lxc_1.0.6.bb (renamed from recipes-containers/lxc/lxc_1.0.5.bb)5
2 files changed, 2 insertions, 48 deletions
diff --git a/recipes-containers/lxc/files/automake-ensure-VPATH-builds-work-correctly.patch b/recipes-containers/lxc/files/automake-ensure-VPATH-builds-work-correctly.patch
deleted file mode 100644
index 2a919513..00000000
--- a/recipes-containers/lxc/files/automake-ensure-VPATH-builds-work-correctly.patch
+++ /dev/null
@@ -1,45 +0,0 @@
1From 08ccd79319e66b3f0b51fd5f5b539e652a16dfc0 Mon Sep 17 00:00:00 2001
2From: Mark Asselstine <mark.asselstine@windriver.com>
3Date: Wed, 30 Apr 2014 11:06:12 -0400
4Subject: [PATCH] automake: ensure VPATH builds work correctly
5
6There were a few non-VPATH friendly directives in some Makefile.am files, fix
7these up to allow VPATH builds to work.
8
9Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
10---
11 config/etc/Makefile.am | 4 ++--
12 src/tests/Makefile.am | 2 +-
13 2 files changed, 3 insertions(+), 3 deletions(-)
14
15diff --git a/config/etc/Makefile.am b/config/etc/Makefile.am
16index 81d7709..dca001e 100644
17--- a/config/etc/Makefile.am
18+++ b/config/etc/Makefile.am
19@@ -4,8 +4,8 @@ distroconf = @LXC_DISTRO_CONF@
20
21 EXTRA_DIST = default.conf.ubuntu default.conf.libvirt default.conf.unknown
22
23-default.conf:
24- cp $(distroconf) $@
25+default.conf: $(distroconf)
26+ cp $? $@
27
28 clean-local:
29 @$(RM) -f default.conf
30diff --git a/src/tests/Makefile.am b/src/tests/Makefile.am
31index 7f6645b..641e207 100644
32--- a/src/tests/Makefile.am
33+++ b/src/tests/Makefile.am
34@@ -64,7 +64,7 @@ buildtest-TESTS: $(TESTS)
35 install-ptest:
36 install -d $(TEST_DIR)
37 install -D ../lxc/liblxc.so $(TEST_DIR)/../lxc/liblxc.so
38- install -D ../../config/test-driver $(TEST_DIR)/../../config/test-driver
39+ install -D $(top_srcdir)/config/test-driver $(TEST_DIR)/../../config/test-driver
40 cp Makefile $(TEST_DIR)
41 @(for file in $(TESTS); do install $$file $(TEST_DIR); done;)
42 sed -i 's|^Makefile:|_Makefile:|' $(TEST_DIR)/Makefile
43--
441.8.3.2
45
diff --git a/recipes-containers/lxc/lxc_1.0.5.bb b/recipes-containers/lxc/lxc_1.0.6.bb
index 232a3d07..5b1eb0aa 100644
--- a/recipes-containers/lxc/lxc_1.0.5.bb
+++ b/recipes-containers/lxc/lxc_1.0.6.bb
@@ -25,10 +25,9 @@ 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-work-correctly.patch \
29 " 28 "
30SRC_URI[md5sum] = "9d9af9e9e69a831cd50b58d91c786013" 29SRC_URI[md5sum] = "4aad3aee84b42faa194e44091d723a3b"
31SRC_URI[sha256sum] = "02ac82e69a76d424e5443b9c577e84a8eaafcebf17cfd865eedee147e8ef8844" 30SRC_URI[sha256sum] = "fc6bffa750f00daaa92aa33d719c1cc235146aa779ebd2a64a0c24423977cf14"
32 31
33S = "${WORKDIR}/${BPN}-${PV}" 32S = "${WORKDIR}/${BPN}-${PV}"
34 33