From patchwork Thu Mar 17 10:54:19 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1/3] ntp-4.2.6 configuration files Date: Thu, 17 Mar 2011 10:54:19 -0000 From: Peter Gsellmann X-Patchwork-Id: 1513 Message-Id: <201103171154.20231.pgsellmann@portner-elektronik.at> To: "openembedded-devel" Mark some files in ${sysconfdir} as configuration files so they are not blindly overwritten when upgrading Signed-off-by: Peter Gsellmann --- recipes/ntp/ntp_4.2.6p3.bb | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/recipes/ntp/ntp_4.2.6p3.bb b/recipes/ntp/ntp_4.2.6p3.bb index 1476c6f..844198f 100644 --- a/recipes/ntp/ntp_4.2.6p3.bb +++ b/recipes/ntp/ntp_4.2.6p3.bb @@ -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