[oe] [meta-networking][PATCH] ntp: add sntp.service for sntp package

Chong Lu Chong.Lu at windriver.com
Thu Oct 30 08:34:25 UTC 2014


This solves the following warning:

lib32-ntp-4.2.6p5: lib32-ntp: Files/directories were installed but not shipped
  /lib/systemd/system/sntp.service [installed-vs-shipped]

Signed-off-by: Chong Lu <Chong.Lu at windriver.com>
---
 recipes-support/ntp/ntp.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-networking/recipes-support/ntp/ntp.inc b/meta-networking/recipes-support/ntp/ntp.inc
index fd45219..6897587 100644
--- a/meta-networking/recipes-support/ntp/ntp.inc
+++ b/meta-networking/recipes-support/ntp/ntp.inc
@@ -128,6 +128,7 @@ FILES_ntpdate = "${sbindir}/ntpdate \
 "
 FILES_sntp = "${sbindir}/sntp \
               ${sysconfdir}/default/sntp \
+              ${systemd_unitdir}/system/sntp.service \
              "
 
 CONFFILES_${PN} = "${sysconfdir}/ntp.conf"
-- 
1.9.1




More information about the Openembedded-devel mailing list