summaryrefslogtreecommitdiffstats
path: root/recipes-extended/xen/files/flask-avoid-installing-policy-file-as-boot.patch
diff options
context:
space:
mode:
authorAdrian Dudau <adrian.dudau@enea.com>2015-07-08 11:08:01 +0200
committerAdrian Dudau <adrian.dudau@enea.com>2015-07-08 11:09:24 +0200
commitec64b2418ccef1e14c6e58b8ca81bb9162c1dfeb (patch)
treebff0bd4240f00bbb21624c1df55583f61abaea25 /recipes-extended/xen/files/flask-avoid-installing-policy-file-as-boot.patch
downloadmeta-virtualization-ec64b2418ccef1e14c6e58b8ca81bb9162c1dfeb.tar.gz
initial commit for Enea Linux 4.0daisy-enea
Migrated from the internal git server on the daisy-enea branch Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
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.patch26
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 @@
1From 8bff3edead4318bfebc487f929f833d11922c238 Mon Sep 17 00:00:00 2001
2From: "Vadim A. Misbakh-Soloviov" <mva@mva.name>
3Date: Tue, 30 Jul 2013 16:34:38 +0400
4Subject: [PATCH] flask: avoid installing policy file as '/boot'
5
6Signed-off-by: Vadim A. Misbakh-Soloviov <mva@mva.name>
7Acked-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
8---
9 tools/flask/policy/Makefile | 1 +
10 1 file changed, 1 insertion(+)
11
12diff --git a/tools/flask/policy/Makefile b/tools/flask/policy/Makefile
13index 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--
251.7.10.4
26