ntp: Fix the installed but not shipped issue of a systemd units file
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
Signed-off-by Stefan Herbrechtsmeier <[email protected]>
--- meta-networking/recipes-support/ntp/ntp.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta-networking/recipes-support/ntp/ntp.inc +3 -1
@@ -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