summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi Zhou <li.zhou@windriver.com>2015-07-30 13:20:23 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-31 15:35:34 +0100
commit1eefbf6bdf5e720767673a754e95c62f2ffcc82f (patch)
tree83bba7f5d292365845c88fbfa9fc7b211bbf5243
parent9b544125e1e3d2cc2db8f5d20d6fd0746f8cef5d (diff)
downloadopenembedded-core-1eefbf6bdf5e720767673a754e95c62f2ffcc82f.tar.gz
openembedded-core-1eefbf6bdf5e720767673a754e95c62f2ffcc82f.tar.bz2
openembedded-core-1eefbf6bdf5e720767673a754e95c62f2ffcc82f.zip
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}. Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-extended/tzdata/tzdata_2015e.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-extended/tzdata/tzdata_2015e.bb b/meta/recipes-extended/tzdata/tzdata_2015e.bb
index 9179d7be4f..92389a95c8 100644
--- a/meta/recipes-extended/tzdata/tzdata_2015e.bb
+++ b/meta/recipes-extended/tzdata/tzdata_2015e.bb
@@ -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"