aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/ntp
AgeCommit message (Collapse)Author
2013-09-16ntp: disable automatic panic shutdown for ntpdAndreas Müller
Taken from [1]: "However, if the difference between the client time and server time is greater than the panic threshold, which defaults to 1000 s, the daemon will send a message to the system log and shut down without setting the clock." On RTC-less or 'fresh' systems with unpredicatble inital date ntpd will stop with work undone (note: I did NOT find the message mentioned above - so it took long way to fix). This is a wide use case for using NTP in production: No need for initial datetime setup by some operator. [1] http://doc.ntp.org/4.1.1/debug.htm Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-09-05ntp: enable systemd-timedated control for ntp.serviceAndreas Müller
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-08-01ntp: allow to run pkg_postinst_ntpdate in do_rootfsMartin Jansa
* read-only rootfs cannot run postinsts on first boot and in this case it doesn't really have to as we can create cron task in do_rootfs Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-07-20ntp: add PACKAGECONFIG for libcap and readlineMartin Jansa
* it's autodetected from sysroot Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-29ntp: Move sntp before ntp-utils in packaging orderKhem Raj
${PN}-utils has greedy expression of capturing all in ${bindir} and sntp gets swept in too. This move in PACKAGES fixes the problem and now sntp binary is packaged in sntp package itself. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2013-04-19ntp: Create a separate package for sntpKhem Raj
sntp provides the functionality of obsoleted ntpdate so we have option of using ntpd as well as sntp sntp does the immediate one time sync with time server and corrects the tme immediately. it replaces ntpdate nicely. Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15recipes: Unify indentationMartin Jansa
* This change is only aesthetic (unlike indentation in Python tasks). * Some recipes were using tabs. * Some were using 8 spaces. * Some were using mix or different number of spaces. * Make them consistently use 4 spaces everywhere. * Yocto styleguide advises to use tabs (but the only reason to keep tabs is the need to update a lot of recipes). Lately this advice was also merged into the styleguide on the OE wiki. * Using 4 spaces in both types of tasks is better because it's less error prone when someone is not sure if e.g. do_generate_toolchain_file() is Python or shell task and also allows to highlight every tab used in .bb, .inc, .bbappend, .bbclass as potentially bad (shouldn't be used for indenting of multiline variable assignments and cannot be used for Python tasks). * Don't indent closing quote on multiline variables we're quite inconsistent wheater it's first character on line under opening quote or under first non-whitespace character in previous line. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2013-04-15ntp: move systemd support from meta-systemd back to meta-networkingMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-01-09ntp: fix license to kill a warningRoy.Li
LICENSE is case sensitive Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
2012-11-27ntp: make servers configurable and default to none configuredPaul Eggleton
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.) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-11-27ntp: cleanup recipes and fix SSL supportPaul Eggleton
* Move common definitions to the inc file * Drop override of do_configure which doesn't seem to be needed anymore * Fold ntp-ssl into the ntp recipe as a PACKAGECONFIG option for those who want it (default to off) and fix configure-time checks to detect OpenSSL properly so that it gets enabled when selected * Remove ntp-bin package and put its contents in currently empty ntp-utils package (with migration path) * Fix hardcoded paths in ntpd initscript * Specify ntpd.conf as a configuration file for packaging purposes * Rearrange so that packaging definitions are towards the end in the expected order * Delete unused "ntp" initscript file * Add SUMMARY * Update HOMEPAGE This reapplies some of the changes from the original patch by Morgan Little <morgan.little@windriver.com>. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-11-21Revert "ntp: Clean up recipes"Koen Kooi
This breaks the upgrade path since 'ntpdate' has been renamed to 'ntp-date'. I don't know why this patch was applied when it was shot down on review. This reverts commit d102fc3fe64844f5c85ff350874728139a63fe78.
2012-10-25ntp: Clean up recipesMorgan Little
Clean up recipes to make them easier to read and to allow ntp-ssl to build * Move common portions to ntp.inc * Update ntp-ssl to require ntp.inc oppose to ntp_${PV}.bb * Change ntp-ssl EXTRA_OECONF to append so it won't try to configure snmp as it will use local paths can cause a error while configuring Signed-off-by: Morgan Little <morgan.little@windriver.com>
2012-10-25ntp: Uprev from 4.2.6p3 to 4.2.6p5Morgan Little
Signed-off-by: Morgan Little <morgan.little@windriver.com>
2012-10-25ntp: Move from meta-oe to meta-networkingMorgan Little
Signed-off-by: Morgan Little <morgan.little@windriver.com>