Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] tzdata: Add marking for config files in recipe
@ 2015-07-29  1:49 Li Zhou
  2015-07-29 12:26 ` Burton, Ross
  0 siblings, 1 reply; 5+ messages in thread
From: Li Zhou @ 2015-07-29  1:49 UTC (permalink / raw)
  To: openembedded-core

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}.

Signed-off-by: Li Zhou <li.zhou@windriver.com>
---
 meta/recipes-extended/tzdata/tzdata.inc |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-extended/tzdata/tzdata.inc b/meta/recipes-extended/tzdata/tzdata.inc
index ee56d36..25743f6 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"
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-07-30 14:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-29  1:49 [PATCH] tzdata: Add marking for config files in recipe Li Zhou
2015-07-29 12:26 ` Burton, Ross
2015-07-30  2:05   ` Zhou, Li
2015-07-30 13:17     ` Burton, Ross
2015-07-30 14:19     ` Martin Jansa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox