diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2019-08-29 16:53:53 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2019-08-29 10:29:56 -0400 |
commit | 67d631f97f679acd9d4c35c013206428270eeb92 (patch) | |
tree | d9f7bd9acdc5e9c344c99f8f35940f438a1986d2 | |
parent | 154654a6fe12206a6b9ad6d8c36a4dbe672bcc46 (diff) | |
download | meta-selinux-67d631f97f679acd9d4c35c013206428270eeb92.tar.gz |
mcstrans: specify INITDIR
By default the mcstrans init script will be installed to
/etc/rc.d/init.d directory. Specify INITDIR to install it to /etc/init.d
directory.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
-rw-r--r-- | recipes-security/selinux/mcstrans.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-security/selinux/mcstrans.inc b/recipes-security/selinux/mcstrans.inc index e66633d..0eb8720 100644 --- a/recipes-security/selinux/mcstrans.inc +++ b/recipes-security/selinux/mcstrans.inc | |||
@@ -15,7 +15,7 @@ inherit systemd update-rc.d | |||
15 | DEPENDS += "libsepol libselinux libcap" | 15 | DEPENDS += "libsepol libselinux libcap" |
16 | 16 | ||
17 | # We do not need "${D}/" as a prefix anymore. | 17 | # We do not need "${D}/" as a prefix anymore. |
18 | EXTRA_OEMAKE += "SBINDIR=${base_sbindir}" | 18 | EXTRA_OEMAKE += "SBINDIR=${base_sbindir} INITDIR=${sysconfdir}/init.d" |
19 | 19 | ||
20 | do_install_append() { | 20 | do_install_append() { |
21 | install -d ${D}${sbindir} | 21 | install -d ${D}${sbindir} |