All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-selinux][PATCH] policycoreutils: fix usrmerge install path
@ 2018-08-28  7:37 mingli.yu
  0 siblings, 0 replies; only message in thread
From: mingli.yu @ 2018-08-28  7:37 UTC (permalink / raw)
  To: yocto, Joe_MacDonald

From: Mingli Yu <Mingli.Yu@windriver.com>

Set SBINDIR to ${base_sbindir} to fix below
issue when usrmerge enabled in DISTRO_FEATURES

| ERROR: QA Issue: policycoreutils-dbg package is not obeying usrmerge distro feature. /sbin should be relocated to /usr. [usrmerge]

| WARNING: policycoreutils-2.7-r0 do_package: QA Issue: policycoreutils: Files/directories were installed but not shipped in any package:
  /sbin/restorecon
  /sbin/setfiles
  /sbin/load_policy
  /sbin/restorecon_xattr
  /sbin/fixfiles

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
---
 recipes-security/selinux/policycoreutils.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-security/selinux/policycoreutils.inc b/recipes-security/selinux/policycoreutils.inc
index b7cb510..e2d44f4 100644
--- a/recipes-security/selinux/policycoreutils.inc
+++ b/recipes-security/selinux/policycoreutils.inc
@@ -158,6 +158,7 @@ do_compile_prepend() {
 do_install_prepend() {
 	export PYTHON=python
 	export SEMODULE_PATH=${sbindir} SYSTEMDDIR=${D}/${systemd_unitdir}
+	export SBINDIR="${D}/${base_sbindir}"
 }
 
 do_install_class-native() {
-- 
2.7.4



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-08-28  7:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-28  7:37 [meta-selinux][PATCH] policycoreutils: fix usrmerge install path mingli.yu

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.