Skip to contentSkip to conversation

ntp: Upgrade 4.2.8p11 -> 4.2.8p12

PATCH New [email protected] 1 participant 1 message Aug 21, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ntp: Upgrade 4.2.8p11 -> 4.2.8p12

From: Changqing Li <[email protected]>

1. Upgrade ntp to 4.2.8p12
2. Disable sntp service by default.
Default NTPSERVER in config sntp is "ntpserver.example.org", just an example, not a valid address, if enable sntp service by default, it will startup failed during boot. It should be enabled after user set the correct config for sntp according to current config of ntpd.

---
 .../recipes-support/ntp/{ntp_4.2.8p11.bb => ntp_4.2.8p12.bb}         | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
 rename meta-networking/recipes-support/ntp/{ntp_4.2.8p11.bb => ntp_4.2.8p12.bb} (97%)
meta-networking/recipes-support/ntp/ntp_4.2.8p12.bb renamed from meta-networking/recipes-support/ntp/ntp_4.2.8p11.bb +3 -2
similarity index 97%
rename from meta-networking/recipes-support/ntp/ntp_4.2.8p11.bb
rename to meta-networking/recipes-support/ntp/ntp_4.2.8p12.bb
index c698fa0..4254301 100644
@@ -23,8 +23,8 @@ SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-${PV}.tar.g
            file://ntpd.list \
 "
 
-SRC_URI[md5sum] = "00950ca2855579541896513e78295361"
-SRC_URI[sha256sum] = "f14a39f753688252d683ff907035ffff106ba8d3db21309b742e09b5c3cd278e"
+SRC_URI[md5sum] = "1522d66574bae14abb2622746dad2bdc"
+SRC_URI[sha256sum] = "709b222b5013d77d26bfff532b5ea470a8039497ef29d09363931c036cb30454"
 
 inherit autotools update-rc.d useradd systemd pkgconfig
 
@@ -120,6 +120,7 @@ SYSTEMD_PACKAGES = "${PN} ntpdate sntp"
 SYSTEMD_SERVICE_${PN} = "ntpd.service"
 SYSTEMD_SERVICE_ntpdate = "ntpdate.service"
 SYSTEMD_SERVICE_sntp = "sntp.service"
+SYSTEMD_AUTO_ENABLE_sntp = "disable"
 
 RPROVIDES_${PN} += "${PN}-systemd"
 RREPLACES_${PN} += "${PN}-systemd"
Signature · 1 line
2.7.4