summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/ntp
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-support/ntp')
-rw-r--r--meta-networking/recipes-support/ntp/ntp_4.2.8p8.bb8
1 files changed, 7 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/ntp/ntp_4.2.8p8.bb b/meta-networking/recipes-support/ntp/ntp_4.2.8p8.bb
index 5f6044138..bca5a0745 100644
--- a/meta-networking/recipes-support/ntp/ntp_4.2.8p8.bb
+++ b/meta-networking/recipes-support/ntp/ntp_4.2.8p8.bb
@@ -126,7 +126,7 @@ RCONFLICTS_ntpdate += "ntpdate-systemd"
126 126
127RSUGGESTS_${PN} = "iana-etc" 127RSUGGESTS_${PN} = "iana-etc"
128 128
129FILES_${PN} = "${sbindir}/ntpd ${sysconfdir}/ntp.conf ${sysconfdir}/init.d/ntpd ${libdir} \ 129FILES_${PN} = "${sbindir}/ntpd.ntp ${sysconfdir}/ntp.conf ${sysconfdir}/init.d/ntpd ${libdir} \
130 ${NTP_USER_HOME} \ 130 ${NTP_USER_HOME} \
131 ${systemd_unitdir}/ntp-units.d/60-ntpd.list ${libexecdir}\ 131 ${systemd_unitdir}/ntp-units.d/60-ntpd.list ${libexecdir}\
132" 132"
@@ -159,3 +159,9 @@ pkg_postinst_ntpdate() {
159 fi 159 fi
160} 160}
161 161
162inherit update-alternatives
163
164ALTERNATIVE_PRIORITY = "100"
165
166ALTERNATIVE_${PN} = "ntpd"
167ALTERNATIVE_LINK_NAME[ntpd] = "${sbindir}/ntpd"