diff options
-rw-r--r-- | recipes-containers/lxc/files/automake-ensure-VPATH-builds-work-correctly.patch | 45 | ||||
-rw-r--r-- | recipes-containers/lxc/lxc_1.0.1.bb | 1 |
2 files changed, 46 insertions, 0 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 new file mode 100644 index 00000000..2a919513 --- /dev/null +++ b/recipes-containers/lxc/files/automake-ensure-VPATH-builds-work-correctly.patch | |||
@@ -0,0 +1,45 @@ | |||
1 | From 08ccd79319e66b3f0b51fd5f5b539e652a16dfc0 Mon Sep 17 00:00:00 2001 | ||
2 | From: Mark Asselstine <mark.asselstine@windriver.com> | ||
3 | Date: Wed, 30 Apr 2014 11:06:12 -0400 | ||
4 | Subject: [PATCH] automake: ensure VPATH builds work correctly | ||
5 | |||
6 | There were a few non-VPATH friendly directives in some Makefile.am files, fix | ||
7 | these up to allow VPATH builds to work. | ||
8 | |||
9 | Signed-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 | |||
15 | diff --git a/config/etc/Makefile.am b/config/etc/Makefile.am | ||
16 | index 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 | ||
30 | diff --git a/src/tests/Makefile.am b/src/tests/Makefile.am | ||
31 | index 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 | -- | ||
44 | 1.8.3.2 | ||
45 | |||
diff --git a/recipes-containers/lxc/lxc_1.0.1.bb b/recipes-containers/lxc/lxc_1.0.1.bb index b366116d..4ef80d66 100644 --- a/recipes-containers/lxc/lxc_1.0.1.bb +++ b/recipes-containers/lxc/lxc_1.0.1.bb | |||
@@ -29,6 +29,7 @@ SRC_URI = "http://linuxcontainers.org/downloads/${BPN}-${PV}.tar.gz \ | |||
29 | file://network.c-Add-missing-LXC_NET_NONE-option-refactor.patch \ | 29 | file://network.c-Add-missing-LXC_NET_NONE-option-refactor.patch \ |
30 | file://runtest.patch \ | 30 | file://runtest.patch \ |
31 | file://run-ptest \ | 31 | file://run-ptest \ |
32 | file://automake-ensure-VPATH-builds-work-correctly.patch \ | ||
32 | " | 33 | " |
33 | SRC_URI[md5sum] = "3c7379891e45713817ec873a167070b0" | 34 | SRC_URI[md5sum] = "3c7379891e45713817ec873a167070b0" |
34 | SRC_URI[sha256sum] = "17d8e5b575207b4fb57da0b8ba2d13f3e5ee20ce8ccd1259d6eae4bd5ca575b1" | 35 | SRC_URI[sha256sum] = "17d8e5b575207b4fb57da0b8ba2d13f3e5ee20ce8ccd1259d6eae4bd5ca575b1" |