summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Slater <joe.slater@windriver.com>2019-08-20 10:38:28 -0700
committerJoe MacDonald <joe_macdonald@mentor.com>2019-08-28 10:26:52 -0400
commit8c6eabaf8c012cdf007c834aae39daf8a8d45b41 (patch)
treecd13620ab7907b39b1a47d5f86b5c996ad56ba51
parent087fe5c8144c246c6361bd8bcbd1ffd9e9b675bb (diff)
downloadmeta-selinux-8c6eabaf8c012cdf007c834aae39daf8a8d45b41.tar.gz
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. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
-rw-r--r--recipes-security/selinux/mcstrans.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-security/selinux/mcstrans.inc b/recipes-security/selinux/mcstrans.inc
index 2568c8d..e66633d 100644
--- a/recipes-security/selinux/mcstrans.inc
+++ b/recipes-security/selinux/mcstrans.inc
@@ -14,6 +14,9 @@ inherit systemd update-rc.d
14 14
15DEPENDS += "libsepol libselinux libcap" 15DEPENDS += "libsepol libselinux libcap"
16 16
17# We do not need "${D}/" as a prefix anymore.
18EXTRA_OEMAKE += "SBINDIR=${base_sbindir}"
19
17do_install_append() { 20do_install_append() {
18 install -d ${D}${sbindir} 21 install -d ${D}${sbindir}
19 install -m 755 utils/untranscon ${D}${sbindir}/ 22 install -m 755 utils/untranscon ${D}${sbindir}/