chrony: set rtcsync config option
authorMetafly <redacted>
Fri, 10 Feb 2017 16:02:54 +0000 (17:02 +0100)
committerMetafly <redacted>
Fri, 10 Feb 2017 17:13:31 +0000 (18:13 +0100)
Else the system will always stay in UNSYNC state.
Even if there is no real RTC.
See chrony minimal config:
http://chrony.tuxfamily.org/faq.html#_what_is_the_minimum_recommended_configuration_for_an_ntp_client

Signed-off-by: Stefan Sydow <redacted>
net/chrony/Makefile
net/chrony/files/chrony.conf

index c51b72b7f27f9c72b458c35dc65ead62b96d1234..0d367c6fb48cb9b183da1a282e36570f3a5541c4 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=chrony
 PKG_VERSION:=3.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://download.tuxfamily.org/chrony/
index b207c945e2d168d856a04248370ce7e71d5ccd35..410e63b948a187288a0fb0324a03294636d05567 100644 (file)
@@ -5,3 +5,6 @@ logchange 0.5
 
 # Don't log client accesses
 noclientlog
+
+# set the system clock else the kernel will always stay in UNSYNC state
+rtcsync
git clone https://git.99rst.org/PROJECT