[oe-commits] Stefan Herbrechtsmeier : ntp: Fix the installed but not shipped issue of a systemd units file

git at git.openembedded.org git at git.openembedded.org
Wed Jan 22 11:18:49 UTC 2014


Module: meta-openembedded.git
Branch: master
Commit: d096e77a362aba8bd70fc02413c16135bace7f7f
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=d096e77a362aba8bd70fc02413c16135bace7f7f

Author: Stefan Herbrechtsmeier <stefan at herbrechtsmeier.net>
Date:   Fri Jan 10 13:45:43 2014 +0100

ntp: Fix the installed but not shipped issue of a systemd units file

We will get the following ERROR/WARN if we enable systemd and
the installed-vs-shipped check in QA:

ERROR: QA Issue: ntp: Files/directories were installed but not shipped
  /lib/systemd/ntp-units.d
  /lib/systemd/ntp-units.d/60-ntpd.list

Signed-off-by: Stefan Herbrechtsmeier <stefan at herbrechtsmeier.net>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 meta-networking/recipes-support/ntp/ntp.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-networking/recipes-support/ntp/ntp.inc b/meta-networking/recipes-support/ntp/ntp.inc
index 9ea24e9..8381b9e 100644
--- a/meta-networking/recipes-support/ntp/ntp.inc
+++ b/meta-networking/recipes-support/ntp/ntp.inc
@@ -97,7 +97,9 @@ RCONFLICTS_ntpdate += "ntpdate-systemd"
 
 RSUGGESTS_${PN} = "iana-etc"
 
-FILES_${PN} = "${bindir}/ntpd ${sysconfdir}/ntp.conf ${sysconfdir}/init.d/ntpd ${sbindir} ${libdir}"
+FILES_${PN} = "${bindir}/ntpd ${sysconfdir}/ntp.conf ${sysconfdir}/init.d/ntpd ${sbindir} ${libdir} \
+    ${systemd_unitdir}/ntp-units.d/60-ntpd.list \
+"
 FILES_${PN}-tickadj = "${bindir}/tickadj"
 FILES_${PN}-utils = "${bindir}"
 FILES_ntpdate = "${bindir}/ntpdate \



More information about the Openembedded-commits mailing list