ntp: make servers configurable and default to none configured
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 22 Nov 2012 16:49:35 +0000 (16:49 +0000)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:24:52 +0000 (08:24 -0800)
commit5521bfdeab95ac91ae486028c115bc9d0c0eb926
tree34b4a3bc9369d00094afb548308b2e2b5b3e64de
parent733b4851f3daae1513e5c05a8fac96f5c4fadd30
ntp: make servers configurable and default to none configured

People can't blindly use pool.ntp.org, especially if they are building
for a product or something that could be used in a product, so at least
try to get people to do the right thing and not use pool.ntp.org by
default.

The previous network interface up script is now installed as
ntpdate-sync in ${bindir} (and symlinked as the network if-up script).
NTPSERVERS needs to be set in /etc/default/ntpdate.default at runtime,
or a different version of this file with a default value can be provided
in a bbappend. (If you intend to use ntpd you will also want to provide
an ntp.conf with the appropriate server(s) set there as well.)

(From meta-openembedded rev: a863b5409923189c3cfa4d82888f94258da96648)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-networking/recipes-support/ntp/files/ntp.conf
meta-openembedded/meta-networking/recipes-support/ntp/files/ntpdate
meta-openembedded/meta-networking/recipes-support/ntp/files/ntpdate.default [new file with mode: 0644]
meta-openembedded/meta-networking/recipes-support/ntp/ntp.inc