diff options
| -rw-r--r-- | meta-networking/recipes-support/ntp/ntp_4.2.8p8.bb | 8 |
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 5f60441384..bca5a07458 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 | ||
| 127 | RSUGGESTS_${PN} = "iana-etc" | 127 | RSUGGESTS_${PN} = "iana-etc" |
| 128 | 128 | ||
| 129 | FILES_${PN} = "${sbindir}/ntpd ${sysconfdir}/ntp.conf ${sysconfdir}/init.d/ntpd ${libdir} \ | 129 | FILES_${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 | ||
| 162 | inherit update-alternatives | ||
| 163 | |||
| 164 | ALTERNATIVE_PRIORITY = "100" | ||
| 165 | |||
| 166 | ALTERNATIVE_${PN} = "ntpd" | ||
| 167 | ALTERNATIVE_LINK_NAME[ntpd] = "${sbindir}/ntpd" | ||
