Skip to contentSkip to conversation

mcstrans: specify SBINDIR

PATCH New Joe Slater 1 participant 1 message Aug 20, 2019

lore
Share & tools
lore

Joe Slater

author
#0 lore raw

PATCH 1/1 mcstrans: specify SBINDIR

We need SBINDIR to be compatible with the usrmerge distro feature. The update to version 2.8 (commit c55c0aca...) removed the definition, perhaps because the "${D}/" prefix broke the build.

---
 recipes-security/selinux/mcstrans.inc | 3 +++
 1 file changed, 3 insertions(+)
recipes-security/selinux/mcstrans.inc +3 -0
index 2568c8d..e66633d 100644
@@ -14,6 +14,9 @@ inherit systemd update-rc.d
 
 DEPENDS += "libsepol libselinux libcap"
 
+# We do not need "${D}/" as a prefix anymore.
+EXTRA_OEMAKE += "SBINDIR=${base_sbindir}"
+
 do_install_append() {
     install -d ${D}${sbindir}
     install -m 755 utils/untranscon ${D}${sbindir}/
Signature · 1 line
2.7.4