summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2018-08-21 09:33:15 +0800
committerKhem Raj <raj.khem@gmail.com>2018-08-21 00:21:17 -0700
commitac91e6b759f1eeeca559005e1c933b46d6a0272f (patch)
tree8faf8727a4c229dd27359497820ec698e71d9ff6
parent7e0fa293b79c6599fea41bde72dc24a0158409fb (diff)
downloadmeta-openembedded-ac91e6b759f1eeeca559005e1c933b46d6a0272f.tar.gz
ntp: Upgrade 4.2.8p11 -> 4.2.8p12
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. Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-networking/recipes-support/ntp/ntp_4.2.8p12.bb (renamed from meta-networking/recipes-support/ntp/ntp_4.2.8p11.bb)5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta-networking/recipes-support/ntp/ntp_4.2.8p11.bb b/meta-networking/recipes-support/ntp/ntp_4.2.8p12.bb
index c698fa049..425430115 100644
--- a/meta-networking/recipes-support/ntp/ntp_4.2.8p11.bb
+++ b/meta-networking/recipes-support/ntp/ntp_4.2.8p12.bb
@@ -23,8 +23,8 @@ SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-${PV}.tar.g
23 file://ntpd.list \ 23 file://ntpd.list \
24" 24"
25 25
26SRC_URI[md5sum] = "00950ca2855579541896513e78295361" 26SRC_URI[md5sum] = "1522d66574bae14abb2622746dad2bdc"
27SRC_URI[sha256sum] = "f14a39f753688252d683ff907035ffff106ba8d3db21309b742e09b5c3cd278e" 27SRC_URI[sha256sum] = "709b222b5013d77d26bfff532b5ea470a8039497ef29d09363931c036cb30454"
28 28
29inherit autotools update-rc.d useradd systemd pkgconfig 29inherit autotools update-rc.d useradd systemd pkgconfig
30 30
@@ -120,6 +120,7 @@ SYSTEMD_PACKAGES = "${PN} ntpdate sntp"
120SYSTEMD_SERVICE_${PN} = "ntpd.service" 120SYSTEMD_SERVICE_${PN} = "ntpd.service"
121SYSTEMD_SERVICE_ntpdate = "ntpdate.service" 121SYSTEMD_SERVICE_ntpdate = "ntpdate.service"
122SYSTEMD_SERVICE_sntp = "sntp.service" 122SYSTEMD_SERVICE_sntp = "sntp.service"
123SYSTEMD_AUTO_ENABLE_sntp = "disable"
123 124
124RPROVIDES_${PN} += "${PN}-systemd" 125RPROVIDES_${PN} += "${PN}-systemd"
125RREPLACES_${PN} += "${PN}-systemd" 126RREPLACES_${PN} += "${PN}-systemd"