Mark some files in ${sysconfdir} as configuration files so they are not blindly overwritten when upgrading
Signed-off-by: Peter Gsellmann <pgsellm...@portner-elektronik.at> --- recipes/vsftpd/vsftpd_2.0.5.bb | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/recipes/vsftpd/vsftpd_2.0.5.bb b/recipes/vsftpd/vsftpd_2.0.5.bb index 42a8236..af884b4 100644 --- a/recipes/vsftpd/vsftpd_2.0.5.bb +++ b/recipes/vsftpd/vsftpd_2.0.5.bb @@ -1,7 +1,7 @@ DESCRIPTION = "Secure ftp daemon" SECTION = "console/network" LICENSE = "GPL" -PR = "r3" +PR = "r4" DEPENDS = "libcap" @@ -14,6 +14,8 @@ SRC_URI = "ftp://vsftpd.beasts.org/users/cevans/vsftpd-${PV}.tar.gz \ inherit update-rc.d +CONFFILES_${PN} = "${sysconfdir}/vsftpd.conf" + do_configure() { # Fix hardcoded /usr, /etc, /var mess. cat tunables.c|sed s:\"/usr:\"${prefix}:g|sed s:\"/var:\"${localstatedir}:g \ -- 1.7.2.3 _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel