diff options
author | Joe Slater <joe.slater@windriver.com> | 2019-08-20 10:38:28 -0700 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2019-08-28 10:26:52 -0400 |
commit | 8c6eabaf8c012cdf007c834aae39daf8a8d45b41 (patch) | |
tree | cd13620ab7907b39b1a47d5f86b5c996ad56ba51 | |
parent | 087fe5c8144c246c6361bd8bcbd1ffd9e9b675bb (diff) | |
download | meta-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.inc | 3 |
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 | ||
15 | DEPENDS += "libsepol libselinux libcap" | 15 | DEPENDS += "libsepol libselinux libcap" |
16 | 16 | ||
17 | # We do not need "${D}/" as a prefix anymore. | ||
18 | EXTRA_OEMAKE += "SBINDIR=${base_sbindir}" | ||
19 | |||
17 | do_install_append() { | 20 | do_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}/ |