[oe] [meta-networking][PATCHv2] ntp : Add cap to default PACKAGECONFIG options.

Joe MacDonald joe at deserted.net
Fri Apr 25 01:01:01 UTC 2014


Merged, thanks.
-J.

[[oe] [meta-networking][PATCHv2] ntp : Add cap to default PACKAGECONFIG options.] On 14.04.23 (Wed 11:30) Philip Balister wrote:

> 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 at balister.org>
> ---
>  meta-networking/recipes-support/ntp/ntp.inc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-networking/recipes-support/ntp/ntp.inc b/meta-networking/recipes-support/ntp/ntp.inc
> index 9c3e0d1..9861fd8 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, \
> -- 
> 1.9.0
> 
-- 
-Joe MacDonald.
:wq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20140424/dddf1053/attachment-0002.sig>


More information about the Openembedded-devel mailing list