diff options
author | Jeff Hatch <jhatch@multitech.com> | 2020-06-15 12:01:01 -0500 |
---|---|---|
committer | Jeff Hatch <jhatch@multitech.com> | 2020-06-15 12:01:01 -0500 |
commit | 612ffa7c85d856c9706064e62448a3debe5c3379 (patch) | |
tree | 7ce893519ee65180783ef3c248bd04c6f3f817c5 /recipes-support/ntp/ntp_%.bbappend | |
parent | 0a3f99fc26efa34e65d0105ae18888bd750e5ab6 (diff) | |
parent | a117c7a2ccc99c9903764658fc3640e06ffe4661 (diff) | |
download | meta-mlinux-612ffa7c85d856c9706064e62448a3debe5c3379.tar.gz meta-mlinux-612ffa7c85d856c9706064e62448a3debe5c3379.tar.bz2 meta-mlinux-612ffa7c85d856c9706064e62448a3debe5c3379.zip |
Merge branch 'udev-rules-refactoring' to better reflect architecture dependencies in architecture specific layers.
Diffstat (limited to 'recipes-support/ntp/ntp_%.bbappend')
-rw-r--r-- | recipes-support/ntp/ntp_%.bbappend | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-support/ntp/ntp_%.bbappend b/recipes-support/ntp/ntp_%.bbappend index c69eff0..436164a 100644 --- a/recipes-support/ntp/ntp_%.bbappend +++ b/recipes-support/ntp/ntp_%.bbappend @@ -1,4 +1,4 @@ -PR .= ".mlinux5" +PR .= ".mlinux6" SRC_URI += " file://ntpd-default \ file://ntp.conf.patch;patchdir=.. \ @@ -23,6 +23,8 @@ do_install_append() { touch ${drfile} chmod 664 ${drfile} chown -R ntp:ntp ${drdir} + tmp=$(sha256sum ${D}${sysconfdir}/ntp.conf | sed 's/ .*//') + echo "CONFIGFILE_sha256=${tmp}" >> ${D}${sysconfdir}/default/ntpd.default } pkg_postinst_${PN}_append() { update-alternatives --install ${sysconfdir}/default/ntpd ntpd-defaults ${sysconfdir}/default/ntpd.default 10 |