diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2016-08-24 17:06:49 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2016-09-05 13:34:11 -0400 |
commit | d4b6c7df767f3eca5dbcb0597f0790013791dd0b (patch) | |
tree | 435f1de28dfdd54e9f0ed5e27746d9940e9d5755 /meta-networking/recipes-support/chrony | |
parent | c13a7062c9e8a9cdffab1576fe00fa7a485bf47c (diff) | |
download | meta-openembedded-d4b6c7df767f3eca5dbcb0597f0790013791dd0b.tar.gz |
chrony: control ipv6 support based on DISTRO_FEATURES
Add PACKAGECONFIG for ipv6 and control it based
on DISTRO_FEATURES.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-support/chrony')
-rw-r--r-- | meta-networking/recipes-support/chrony/chrony_2.4.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/chrony/chrony_2.4.bb b/meta-networking/recipes-support/chrony/chrony_2.4.bb index 9698ae418..4bc4ce0df 100644 --- a/meta-networking/recipes-support/chrony/chrony_2.4.bb +++ b/meta-networking/recipes-support/chrony/chrony_2.4.bb | |||
@@ -58,12 +58,15 @@ inherit update-rc.d systemd | |||
58 | # chrony.conf and init script. | 58 | # chrony.conf and init script. |
59 | # - 'scfilter' enables support for system call filtering, but requires the | 59 | # - 'scfilter' enables support for system call filtering, but requires the |
60 | # kernel to have CONFIG_SECCOMP enabled. | 60 | # kernel to have CONFIG_SECCOMP enabled. |
61 | PACKAGECONFIG ??= "editline scfilter" | 61 | PACKAGECONFIG ??= "editline scfilter \ |
62 | ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)} \ | ||
63 | " | ||
62 | PACKAGECONFIG[readline] = "--without-editline,--without-readline,readline" | 64 | PACKAGECONFIG[readline] = "--without-editline,--without-readline,readline" |
63 | PACKAGECONFIG[editline] = ",--without-editline,libedit" | 65 | PACKAGECONFIG[editline] = ",--without-editline,libedit" |
64 | PACKAGECONFIG[sechash] = "--without-tomcrypt,--disable-sechash,nss" | 66 | PACKAGECONFIG[sechash] = "--without-tomcrypt,--disable-sechash,nss" |
65 | PACKAGECONFIG[privdrop] = ",--disable-privdrop,libcap" | 67 | PACKAGECONFIG[privdrop] = ",--disable-privdrop,libcap" |
66 | PACKAGECONFIG[scfilter] = "--enable-scfilter,--without-seccomp" | 68 | PACKAGECONFIG[scfilter] = "--enable-scfilter,--without-seccomp" |
69 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | ||
67 | 70 | ||
68 | # --disable-static isn't supported by chrony's configure script. | 71 | # --disable-static isn't supported by chrony's configure script. |
69 | DISABLE_STATIC = "" | 72 | DISABLE_STATIC = "" |