diff options
author | Jeff Hatch <jhatch@multitech.com> | 2017-02-13 14:34:48 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2017-05-23 15:21:54 -0500 |
commit | 14bf87bc4cf2c389c624ffdb1a6d09c24e3ab9d0 (patch) | |
tree | 029329eb712b12647f786a1562ac33991d2647dc /recipes-support/ntp/ntp_4.2.6p5.bbappend | |
parent | 6fbfbe0cb5df5546beda2b88a19a398ea0ebdbc8 (diff) | |
download | meta-mlinux-14bf87bc4cf2c389c624ffdb1a6d09c24e3ab9d0.tar.gz meta-mlinux-14bf87bc4cf2c389c624ffdb1a6d09c24e3ab9d0.tar.bz2 meta-mlinux-14bf87bc4cf2c389c624ffdb1a6d09c24e3ab9d0.zip |
Initial commit of Yocto 2.1 changes
Diffstat (limited to 'recipes-support/ntp/ntp_4.2.6p5.bbappend')
-rw-r--r-- | recipes-support/ntp/ntp_4.2.6p5.bbappend | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/recipes-support/ntp/ntp_4.2.6p5.bbappend b/recipes-support/ntp/ntp_4.2.6p5.bbappend deleted file mode 100644 index 8460fda..0000000 --- a/recipes-support/ntp/ntp_4.2.6p5.bbappend +++ /dev/null @@ -1,33 +0,0 @@ -PR .= ".mlinux2" - -SRC_URI += " file://ntpd-init.patch;patchdir=.. \ - file://ntp.conf.patch;patchdir=.. \ - file://ntpd-default \ - file://logtime.patch \ - " -FILESEXTRAPATHS_prepend := "${THISDIR}/files" - -python do_patch_prepend () { - import os -} - -do_install_append() { - install -d ${D}${sysconfdir}/default - install -m 0644 ${WORKDIR}/ntpd-default ${D}${sysconfdir}/default/ntpd.default - - drdir=${D}${localstatedir}/lib/ntp - install -d -m 0755 -p ${drdir} - drfile="${drdir}/ntp.drift" - touch ${drfile} - chmod 664 ${drfile} - chown -R ntp:ntp ${drdir} -} -pkg_postinst_${PN}_append() { - update-alternatives --install ${sysconfdir}/default/ntpd ntpd-defaults ${sysconfdir}/default/ntpd.default 10 -} - -pkg_postrm_${PN}_append() { - update-alternatives --remove ntpd-defaults ${sysconfdir}/default/ntpd.default -} -FILES_${PN} += "${sysconfdir}/default/ntpd.default ${localstatedir}/lib/*" -CONFFILES_${PN} += "${sysconfdir}/default/ntpd.default" |