summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2016-06-04 09:36:57 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-06-05 12:36:02 +0200
commit4324ee87e86b1341d57cb566e9e924a0749a9377 (patch)
tree19a1b48f55b3c832c1bfb4ecbd3317abe8cbb298 /rules
parent2794a2bbe5fcfed95dbe78554a688d65929aa198 (diff)
downloadptxdist-4324ee87e86b1341d57cb566e9e924a0749a9377.tar.gz
ptxdist-4324ee87e86b1341d57cb566e9e924a0749a9377.tar.xz
policycoreutils: only install /etc/sestatus.conf if sestatus is enabled
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r--rules/policycoreutils.make2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/policycoreutils.make b/rules/policycoreutils.make
index 3897213bb..94ac69857 100644
--- a/rules/policycoreutils.make
+++ b/rules/policycoreutils.make
@@ -153,7 +153,9 @@ ifdef PTXCONF_POLICYCOREUTILS_SEMANAGE
@$(call install_copy, policycoreutils, 0, 0, 0644, -, $(PYTHON_SITEPACKAGES)/seobject.py)
endif
+ifdef PTXCONF_POLICYCOREUTILS_SESTATUS
@$(call install_alternative, policycoreutils, 0, 0, 0644, /etc/sestatus.conf)
+endif
@$(call install_finish, policycoreutils)