chrony: enable initial timestep (#9430)

This is a follow up to #9289, which modifies the example to allow chrony
to work out of the box.  Specifically, this enables the "makestep"
option to allow for quickly correcting the clock on start if it's off by
a large amount.  This is necessary for devices like Raspberry Pi's which
don't have a RTC and reset their clocks on boot.
This commit is contained in:
Peter Bui 2017-11-28 05:43:58 -05:00 committed by Juan RP
parent 963dc2adac
commit 8b4da68ad0
1 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,7 @@
# When Updating: Please confirm the upstream config still refers to make_dirs
pkgname=chrony
version=3.2
revision=5
revision=6
build_style=gnu-configure
configure_args="--without-nss --enable-scfilter --with-sendmail=/usr/bin/sendmail"
hostmakedepends="pkg-config"
@ -31,6 +31,7 @@ post_install() {
# Modify default configuration so it works out-of-the-box
sed -e 's,! pool pool.ntp.org iburst,pool pool.ntp.org iburst,' -i ${DESTDIR}/etc/chrony.conf
sed -e 's,! rtcfile /var/lib/chrony/rtc,rtcfile /var/lib/chrony/rtc,' -i ${DESTDIR}/etc/chrony.conf
sed -e 's,! makestep 1.0 3,makestep 1.0 3,' -i ${DESTDIR}/etc/chrony.conf
vsconf examples/chrony.conf.example1
vsconf examples/chrony.conf.example2
vsv chronyd