All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-selinux][PATCH] policycorutils: package files in base_sbindir.
@ 2018-09-09 19:25 Eric Chanudet
  2018-09-09 20:03 ` Joe MacDonald
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Chanudet @ 2018-09-09 19:25 UTC (permalink / raw)
  To: yocto@yoctoproject.org

SBINDIR was changed to ${base_sbindir} in commit:
8cc9c17 policycoreutils: fix installed-but-not-shipped on updated recipes

FILES_${PN}-* must now capture files installed in ${base_sbindir}
accordingly.

Signed-off-by: Eric Chanudet <chanudete@ainfosec.com>
---
 recipes-security/selinux/policycoreutils.inc | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/recipes-security/selinux/policycoreutils.inc b/recipes-security/selinux/policycoreutils.inc
index 98000de..85ff164 100644
--- a/recipes-security/selinux/policycoreutils.inc
+++ b/recipes-security/selinux/policycoreutils.inc
@@ -79,26 +79,25 @@ PACKAGES =+ "\
 	${PN}-setsebool \
 "
 FILES_${PN}-fixfiles += "${base_sbindir}/fixfiles"
-FILES_${PN}-genhomedircon += "${sbindir}/genhomedircon"
+FILES_${PN}-genhomedircon += "${base_sbindir}/genhomedircon"
 FILES_${PN}-loadpolicy += "\
 	${base_sbindir}/load_policy \
-	${sbindir}/load_policy \
 "
 FILES_${PN}-newrole += "\
 	${bindir}/newrole \
 	${@bb.utils.contains('DISTRO_FEATURES', 'pam', '${sysconfdir}/pam.d/newrole', '', d)} \
 "
 FILES_${PN}-runinit += "\
-	${sbindir}/run_init \
-	${sbindir}/open_init_pty \
+	${base_sbindir}/run_init \
+	${base_sbindir}/open_init_pty \
 	${@bb.utils.contains('DISTRO_FEATURES', 'pam', '${sysconfdir}/pam.d/run_init', '', d)} \
 "
 FILES_${PN}-dbg += "${prefix}/libexec/selinux/hll/.debug"
 FILES_${PN}-secon += "${bindir}/secon"
-FILES_${PN}-semodule += "${sbindir}/semodule"
+FILES_${PN}-semodule += "${base_sbindir}/semodule"
 FILES_${PN}-hll += "${prefix}/libexec/selinux/hll/*"
 FILES_${PN}-sestatus += "\
-	${sbindir}/sestatus \
+	${base_sbindir}/sestatus \
 	${sysconfdir}/sestatus.conf \
 "
 FILES_${PN}-setfiles += "\
@@ -106,7 +105,7 @@ FILES_${PN}-setfiles += "\
 	${base_sbindir}/setfiles \
 "
 FILES_${PN}-setsebool += "\
-	${sbindir}/setsebool \
+	${base_sbindir}/setsebool \
 	${datadir}/bash-completion/completions/setsebool \
 "
 
-- 
2.18.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-09-09 20:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-09 19:25 [meta-selinux][PATCH] policycorutils: package files in base_sbindir Eric Chanudet
2018-09-09 20:03 ` Joe MacDonald

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.