diff options
author | John Klug <john.klug@multitech.com> | 2017-01-25 15:01:13 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2017-01-25 15:01:13 -0600 |
commit | 45490ae303c0f35956873abdeb3d78673327ba94 (patch) | |
tree | e1756695b5245777afe4ae74a024043978a7a1b4 /recipes-support/ntp/ntp_4.2.6p5.bbappend | |
parent | 12e861e5763e92a96c45f66d2404c111e3edafa5 (diff) | |
download | meta-mlinux-45490ae303c0f35956873abdeb3d78673327ba94.tar.gz meta-mlinux-45490ae303c0f35956873abdeb3d78673327ba94.tar.bz2 meta-mlinux-45490ae303c0f35956873abdeb3d78673327ba94.zip |
Add drift file directory and log directories
Diffstat (limited to 'recipes-support/ntp/ntp_4.2.6p5.bbappend')
-rw-r--r-- | recipes-support/ntp/ntp_4.2.6p5.bbappend | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes-support/ntp/ntp_4.2.6p5.bbappend b/recipes-support/ntp/ntp_4.2.6p5.bbappend index b656256..417d239 100644 --- a/recipes-support/ntp/ntp_4.2.6p5.bbappend +++ b/recipes-support/ntp/ntp_4.2.6p5.bbappend @@ -1,4 +1,4 @@ -PR .= ".mlinux1" +PR .= ".mlinux2" SRC_URI += " file://ntpd-init.patch;patchdir=.. \ file://ntp.conf.patch;patchdir=.. \ @@ -35,11 +35,11 @@ do_install_prepend() { install -m 0644 ${WORKDIR}/ntpd-default ${D}${sysconfdir}/default/ntpd.default echo JAK In do_install_append default is $(ls ${D}cd${sysconfdir}/default/ntpd.default) } -pkg_postinst_${PN}() { +pkg_postinst_${PN}_append() { update-alternatives --install ${sysconfdir}/default/ntpd ntpd-defaults ${sysconfdir}/default/ntpd.default 10 } -pkg_postrm_${PN}() { +pkg_postrm_${PN}_append() { update-alternatives --remove ntpd-defaults ${sysconfdir}/default/ntpd.default } FILES_${PN} += "${sysconfdir}/default/ntpd.default" |