Skip to contentSkip to conversation

mcstrans: Fix package to work with usrmerge

PATCH New Jason Wessel 1 participant 1 message Aug 20, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mcstrans: Fix package to work with usrmerge

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 ]

---
 recipes-security/selinux/mcstrans.inc | 2 ++
 1 file changed, 2 insertions(+)
recipes-security/selinux/mcstrans.inc +2 -0
index 2568c8d..feb5715 100644
@@ -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() {
Signature · 1 line
2.21.0