PR .= ".mlinux1" SRC_URI += " file://ntpd-init.patch;patchdir=.. \ file://ntp.conf.patch;patchdir=.. \ " FILESEXTRAPATHS_prepend := "${THISDIR}/files" python do_patch_prepend () { import os } pkg_postinst_${PN} () { if ! [[ -d /var/log/ntpstats ]] ; then mkdir -p /var/log/ntpstats fi chown ntp:ntp /var/log/ntpstats chmod 775 /var/log/ntpstats if ! [[ -d /var/lib/ntp ]] ; then mkdir -p /var/lib/ntp fi drfile="/var/lib/ntp/ntp.drift" touch ${drfile} chown ntp:ntp ${drfile} chmod 664 ${drfile} }