Skip to contentSkip to conversation

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

PATCH New Stefan Herbrechtsmeier 1 participant 1 message Jan 10, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 meta-networking/recipes-support/ntp/ntp.inc |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-networking/recipes-support/ntp/ntp.inc +3 -1
index 9ea24e9..8381b9e 100644
@@ -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 \
Signature · 1 line
1.7.9.5