diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2022-07-07 14:08:58 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-07-07 10:26:37 -0400 |
commit | e0e1eb4bedc06c6433aa5adef32b41765a698ada (patch) | |
tree | 32687b42a81cc47d8ac022e7f20140ffaabdf8ec | |
parent | c098cf9190413f237dc49d29c57be2f579fd4c40 (diff) | |
download | meta-openembedded-e0e1eb4bedc06c6433aa5adef32b41765a698ada.tar.gz |
openvpn: add PACKAGECONFIG for selinux
This is useful for selinux distro feature.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-networking/recipes-support/openvpn/openvpn_2.5.7.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/openvpn/openvpn_2.5.7.bb b/meta-networking/recipes-support/openvpn/openvpn_2.5.7.bb index 7404e6e587..1395a35f54 100644 --- a/meta-networking/recipes-support/openvpn/openvpn_2.5.7.bb +++ b/meta-networking/recipes-support/openvpn/openvpn_2.5.7.bb | |||
@@ -37,9 +37,11 @@ EXTRA_OECONF += "SYSTEMD_UNIT_DIR=${systemd_system_unitdir} \ | |||
37 | " | 37 | " |
38 | 38 | ||
39 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ | 39 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ |
40 | ${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)} \ | ||
40 | " | 41 | " |
41 | 42 | ||
42 | PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd" | 43 | PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd" |
44 | PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux" | ||
43 | 45 | ||
44 | do_install:append() { | 46 | do_install:append() { |
45 | install -d ${D}/${sysconfdir}/init.d | 47 | install -d ${D}/${sysconfdir}/init.d |