summaryrefslogtreecommitdiffstats
path: root/recipes-containers
diff options
context:
space:
mode:
authorMark Asselstine <mark.asselstine@windriver.com>2017-04-24 16:31:28 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2017-04-24 22:51:29 -0400
commita0524380e8e99306527d32094914dba43d061178 (patch)
treefce7ac3876cd83d8051d3e6e62fedc985b119e0d /recipes-containers
parent67c86c4962170354ad8a2ec4cdbb9bc0056cfd66 (diff)
downloadmeta-virtualization-a0524380e8e99306527d32094914dba43d061178.tar.gz
crui: update selinux patch to apply to v2.5
I am not sure how the uprev to v2.5 was completed without seeing this patch failure but regardless the file being patched was moved to the 'criu' directory as part of the v2.5 release. Update the path found in the patch and update the context in the patch such that it applies. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-containers')
-rw-r--r--recipes-containers/criu/files/disable-selinux.patch35
1 files changed, 24 insertions, 11 deletions
diff --git a/recipes-containers/criu/files/disable-selinux.patch b/recipes-containers/criu/files/disable-selinux.patch
index da881dd3..5d5d0352 100644
--- a/recipes-containers/criu/files/disable-selinux.patch
+++ b/recipes-containers/criu/files/disable-selinux.patch
@@ -1,3 +1,8 @@
1From bd2eeaddfc1f12f87184d870cc9a1adde1cf0b10 Mon Sep 17 00:00:00 2001
2From: Mark Asselstine <mark.asselstine@windriver.com>
3Date: Mon, 24 Apr 2017 13:08:48 -0400
4Subject: [PATCH] criu/Makefile.config: explicitly remove selinux support
5
1Upstream-Status: Inappropriate [disable feature] 6Upstream-Status: Inappropriate [disable feature]
2 7
3It shows warning when build crius if libselinux has been built already: 8It shows warning when build crius if libselinux has been built already:
@@ -7,20 +12,28 @@ It shows warning when build crius if libselinux has been built already:
7Apply this patch to disable selinux support when 'selinux' is not in PACKAGECONF. 12Apply this patch to disable selinux support when 'selinux' is not in PACKAGECONF.
8 13
9Signed-off-by: Kai Kang <kai.kang@windriver.com> 14Signed-off-by: Kai Kang <kai.kang@windriver.com>
15[MA: Context updated to apply against criu v2.5]
16Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
17---
18 criu/Makefile.config | 5 -----
19 1 file changed, 5 deletions(-)
10 20
11diff --git a/Makefile.config b/Makefile.config 21diff --git a/criu/Makefile.config b/criu/Makefile.config
12index ce4b8d8..3ac2780 100644 22index f531b3b..37216f8 100644
13--- a/Makefile.config 23--- a/criu/Makefile.config
14+++ b/Makefile.config 24+++ b/criu/Makefile.config
15@@ -8,11 +8,6 @@ ifeq ($(call try-cc,$(LIBBSD_DEV_TEST),-lbsd),y) 25@@ -7,11 +7,6 @@ ifeq ($(call try-cc,$(FEATURE_TEST_LIBBSD_DEV),-lbsd),true)
16 DEFINES += -DCONFIG_HAS_LIBBSD 26 FEATURE_DEFINES += -DCONFIG_HAS_LIBBSD
17 endif 27 endif
18 28
19-ifeq ($(call pkg-config-check,libselinux),y) 29-ifeq ($(call pkg-config-check,libselinux),y)
20- LIBS := -lselinux $(LIBS) 30- LIBS += -lselinux
21- DEFINES += -DCONFIG_HAS_SELINUX 31- FEATURE_DEFINES += -DCONFIG_HAS_SELINUX
22-endif 32-endif
23- 33-
24 $(CONFIG): scripts/utilities.mak scripts/feature-tests.mak include/config-base.h 34 export DEFINES += $(FEATURE_DEFINES)
25 $(E) " GEN " $@ 35 export CFLAGS += $(FEATURE_DEFINES)
26 $(Q) @echo '#ifndef __CR_CONFIG_H__' > $@ 36
37--
382.7.4
39