Skip to contentSkip to conversation

tzdata: Add marking for config files in recipe

PATCH New Li Zhou 1 participant 1 message Jul 30, 2015

lore
Share & tools
lore

Li Zhou

author
#0 lore raw

PATCH v2 1/1 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}.

---
 meta/recipes-extended/tzdata/tzdata_2015e.bb |    2 ++
 1 file changed, 2 insertions(+)
meta/recipes-extended/tzdata/tzdata_2015e.bb +2 -0
index 9179d7b..92389a9 100644
@@ -203,3 +203,5 @@ FILES_${PN} += "${datadir}/zoneinfo/Pacific/Honolulu     \
                 ${datadir}/zoneinfo/zone.tab             \
                 ${datadir}/zoneinfo/iso3166.tab          \
                 ${datadir}/zoneinfo/Etc/*"
+
+CONFFILES_${PN} += "${sysconfdir}/timezone ${sysconfdir}/localtime"
Signature · 1 line
1.7.9.5