[oe-commits] [meta-openembedded] 16/23: chrony: install chrony-wait.service

git at git.openembedded.org git at git.openembedded.org
Wed Nov 20 07:33:39 UTC 2019


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 746e52fc15259973bedb0f97bd1b2e7a43e11b43
Author: Peter Morrow <peter.morrow at microsoft.com>
AuthorDate: Tue Nov 19 15:45:39 2019 +0000

    chrony: install chrony-wait.service
    
    Any systemd service which needs to wait on ntp synchronization before
    starting can order themselves after chrony-wait.service.  It's useful
    to install this service as part of the recipe as it saves needing to
    install it via a bbappend file.  Note that even if the service is
    installed no start up delay is introduced unless another service
    orders itself after the systemd target time-sync.target.
    
    Signed-off-by: Peter Morrow <peter.morrow at microsoft.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-networking/recipes-support/chrony/chrony_3.5.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-networking/recipes-support/chrony/chrony_3.5.bb b/meta-networking/recipes-support/chrony/chrony_3.5.bb
index 7c6356d..fa11c44 100644
--- a/meta-networking/recipes-support/chrony/chrony_3.5.bb
+++ b/meta-networking/recipes-support/chrony/chrony_3.5.bb
@@ -103,6 +103,9 @@ do_install() {
     install -d ${D}${systemd_unitdir}/system
     install -m 0644 ${S}/examples/chronyd.service ${D}${systemd_unitdir}/system/
 
+    # systemd chronyd synchronization unit configuration file
+    install -m 0644 ${S}/examples/chrony-wait.service ${D}${systemd_unitdir}/system/
+
     # Variable data (for drift and/or rtc file)
     install -d ${D}${localstatedir}/lib/chrony
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list