Skip to contentSkip to conversation

ntp-4.2.6 configuration files

PATCH In review Peter Gsellmann 1 participant 1 message Mar 17, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 ntp-4.2.6 configuration files

Mark some files in ${sysconfdir} as configuration files so they are not blindly overwritten when upgrading

---
 recipes/ntp/ntp_4.2.6p3.bb |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
recipes/ntp/ntp_4.2.6p3.bb +4 -2
index 1476c6f..844198f 100644
@@ -1,6 +1,6 @@
 require ntp.inc
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/${P}.tar.gz \
         file://tickadj.c.patch \
@@ -12,7 +12,9 @@ SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/${P}.tar.gz \
 SRC_URI[md5sum] = "59876a9009b098ff59767ee45a88ebd2"
 SRC_URI[sha256sum] = "6e84d4ddfa14b911c3ed88463af10867e1fa9b287e7b34d8a02e78be85a7c40e"
 
-EXTRA_OECONF += " --with-net-snmp-config=no --without-ntpsnmpd" 
+EXTRA_OECONF += " --with-net-snmp-config=no --without-ntpsnmpd"
+
+CONFFILES_${PN} = "${sysconfdir}/ntp.conf"
 
 do_install_append() {
         install -d ${D}/${sysconfdir}/init.d
Signature · 1 line
1.7.2.3