diff options
Diffstat (limited to 'recipes-extended/xen/files/flask-avoid-installing-policy-file-as-boot.patch')
-rw-r--r-- | recipes-extended/xen/files/flask-avoid-installing-policy-file-as-boot.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-extended/xen/files/flask-avoid-installing-policy-file-as-boot.patch b/recipes-extended/xen/files/flask-avoid-installing-policy-file-as-boot.patch new file mode 100644 index 00000000..d980807d --- /dev/null +++ b/recipes-extended/xen/files/flask-avoid-installing-policy-file-as-boot.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From 8bff3edead4318bfebc487f929f833d11922c238 Mon Sep 17 00:00:00 2001 | ||
2 | From: "Vadim A. Misbakh-Soloviov" <mva@mva.name> | ||
3 | Date: Tue, 30 Jul 2013 16:34:38 +0400 | ||
4 | Subject: [PATCH] flask: avoid installing policy file as '/boot' | ||
5 | |||
6 | Signed-off-by: Vadim A. Misbakh-Soloviov <mva@mva.name> | ||
7 | Acked-by: Daniel De Graaf <dgdegra@tycho.nsa.gov> | ||
8 | --- | ||
9 | tools/flask/policy/Makefile | 1 + | ||
10 | 1 file changed, 1 insertion(+) | ||
11 | |||
12 | diff --git a/tools/flask/policy/Makefile b/tools/flask/policy/Makefile | ||
13 | index e666f3e..df1e8f3 100644 | ||
14 | --- a/tools/flask/policy/Makefile | ||
15 | +++ b/tools/flask/policy/Makefile | ||
16 | @@ -103,6 +103,7 @@ POLICY_SECTIONS += $(USERS) $(CONSTRAINTS) $(ISID_DEFS) | ||
17 | all: $(POLICY_FILENAME) | ||
18 | |||
19 | install: $(POLICY_FILENAME) | ||
20 | + $(INSTALL_DIR) $(POLICY_LOADPATH) | ||
21 | $(INSTALL_DATA) $^ $(POLICY_LOADPATH) | ||
22 | |||
23 | $(POLICY_FILENAME): policy.conf | ||
24 | -- | ||
25 | 1.7.10.4 | ||
26 | |||