From: Li Zhou Date: Thu, 30 Jul 2015 05:20:23 +0000 (+0800) Subject: tzdata: Add marking for config files in recipe X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=75c8f094ddd652e6f91c8f879537c10ec08b7043;p=openembedded-core.git tzdata: Add marking for config files in recipe The tzdata recipe does not mark the /etc/timezone file and /etc/localtime link as configuration files. An on target update would then overwite the user modified versions of those files. Add those files in CONFFILES_${PN}. (From OE-Core rev: 1eefbf6bdf5e720767673a754e95c62f2ffcc82f) Signed-off-by: Li Zhou Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-extended/tzdata/tzdata.inc b/meta/recipes-extended/tzdata/tzdata.inc index ee56d36395..25743f6740 100644 --- a/meta/recipes-extended/tzdata/tzdata.inc +++ b/meta/recipes-extended/tzdata/tzdata.inc @@ -198,3 +198,5 @@ FILES_${PN} += "${datadir}/zoneinfo/Pacific/Honolulu \ ${datadir}/zoneinfo/zone.tab \ ${datadir}/zoneinfo/iso3166.tab \ ${datadir}/zoneinfo/Etc/*" + +CONFFILES_${PN} += "${sysconfdir}/timezone ${sysconfdir}/localtime"