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>
This commit is contained in:
Joe Slater 2019-08-20 10:38:28 -07:00 committed by Joe MacDonald
parent 087fe5c814
commit 8c6eabaf8c

View File

@ -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}/