diff options
author | Philip Balister <philip@balister.org> | 2014-04-23 11:30:29 -0700 |
---|---|---|
committer | Joe MacDonald <joe@deserted.net> | 2014-04-24 20:39:15 -0400 |
commit | fdea5d0942e2d705314e37e339d3c038bb6f4bee (patch) | |
tree | 4136b14c4cb59c7a7435040e84795d73dda23d84 /meta-networking | |
parent | 0f56bc4e2818a051a511ceb48596cbfa2f51ff3d (diff) | |
download | meta-openembedded-fdea5d0942e2d705314e37e339d3c038bb6f4bee.tar.gz |
ntp : Add cap to default PACKAGECONFIG options.
If ntp is built without libcap, it refuses to start with the following
message:
Starting ntpd: /usr/sbin/ntpd: The ``user'' option has been disabled -- built
without --enable-clockctl or --enable-linuxcaps
ntpd - NTP daemon program - Ver. 4.2.6p5
USAGE: ntpd [ -<flag> [<val>] | --<name>[{=| }<val>] ]...
By adding cap to the PACKAGECONFIG the default runs. In the
future, someone could add an option for using clockctl.
Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Joe MacDonald <joe@deserted.net>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-support/ntp/ntp.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/ntp/ntp.inc b/meta-networking/recipes-support/ntp/ntp.inc index 9c3e0d16c..9861fd88b 100644 --- a/meta-networking/recipes-support/ntp/ntp.inc +++ b/meta-networking/recipes-support/ntp/ntp.inc | |||
@@ -36,7 +36,7 @@ USERADD_PACKAGES = "${PN}" | |||
36 | USERADD_PARAM_${PN} = "--system --home-dir /var/lib/ntp \ | 36 | USERADD_PARAM_${PN} = "--system --home-dir /var/lib/ntp \ |
37 | --shell /bin/false --user-group ntp" | 37 | --shell /bin/false --user-group ntp" |
38 | 38 | ||
39 | PACKAGECONFIG ??= "" | 39 | PACKAGECONFIG ??= "cap" |
40 | PACKAGECONFIG[openssl] = "--with-openssl-libdir=${STAGING_LIBDIR} \ | 40 | PACKAGECONFIG[openssl] = "--with-openssl-libdir=${STAGING_LIBDIR} \ |
41 | --with-openssl-incdir=${STAGING_INCDIR} \ | 41 | --with-openssl-incdir=${STAGING_INCDIR} \ |
42 | --with-crypto, \ | 42 | --with-crypto, \ |