ERROR: mcstrans-2.8-r0 do_package_qa: QA Issue: mcstrans-dbg package is not 
obeying usrmerge distro feature. /sbin should be relocated to /usr. [usrmerge]
ERROR: mcstrans-2.8-r0 do_package_qa: QA run found fatal errors. Please 
consider fixing them.
ERROR: mcstrans-2.8-r0 do_package_qa: Function failed: do_package_qa

It is a simple case of making sure the SBINDIR is set properly for the
Makfile.

[ Issue: LIN1018-4665 ]

Signed-off-by: Jason Wessel <jason.wes...@windriver.com>
---
 recipes-security/selinux/mcstrans.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/recipes-security/selinux/mcstrans.inc 
b/recipes-security/selinux/mcstrans.inc
index 2568c8d..feb5715 100644
--- a/recipes-security/selinux/mcstrans.inc
+++ b/recipes-security/selinux/mcstrans.inc
@@ -12,6 +12,8 @@ SRC_URI += "file://mcstrans-de-bashify.patch \
 
 inherit systemd update-rc.d
 
+EXTRA_OEMAKE += "SBINDIR=${sbindir}"
+
 DEPENDS += "libsepol libselinux libcap"
 
 do_install_append() {
-- 
2.21.0

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to