From fdea5d0942e2d705314e37e339d3c038bb6f4bee Mon Sep 17 00:00:00 2001 From: Philip Balister Date: Wed, 23 Apr 2014 11:30:29 -0700 Subject: 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 [ - [] | --[{=| }] ]... 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 Signed-off-by: Joe MacDonald --- meta-networking/recipes-support/ntp/ntp.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-networking/recipes-support') diff --git a/meta-networking/recipes-support/ntp/ntp.inc b/meta-networking/recipes-support/ntp/ntp.inc index 9c3e0d16c8..9861fd88bd 100644 --- a/meta-networking/recipes-support/ntp/ntp.inc +++ b/meta-networking/recipes-support/ntp/ntp.inc @@ -36,7 +36,7 @@ USERADD_PACKAGES = "${PN}" USERADD_PARAM_${PN} = "--system --home-dir /var/lib/ntp \ --shell /bin/false --user-group ntp" -PACKAGECONFIG ??= "" +PACKAGECONFIG ??= "cap" PACKAGECONFIG[openssl] = "--with-openssl-libdir=${STAGING_LIBDIR} \ --with-openssl-incdir=${STAGING_INCDIR} \ --with-crypto, \ -- cgit 1.2.3-korg