[yocto] [meta-selinux][PATCH] mcstrans: Fix package to work with usrmerge
Jason Wessel
jason.wessel at windriver.com
Tue Aug 20 10:35:36 PDT 2019
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.wessel at 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
More information about the yocto
mailing list