[oe-commits] Li Zhou : tzdata: Add marking for config files in recipe

git at git.openembedded.org git at git.openembedded.org
Sat Aug 1 06:35:17 UTC 2015


Module: openembedded-core.git
Branch: master
Commit: 1eefbf6bdf5e720767673a754e95c62f2ffcc82f
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=1eefbf6bdf5e720767673a754e95c62f2ffcc82f

Author: Li Zhou <li.zhou at windriver.com>
Date:   Thu Jul 30 13:20:23 2015 +0800

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 at windriver.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>

---

 meta/recipes-extended/tzdata/tzdata_2015e.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-extended/tzdata/tzdata_2015e.bb b/meta/recipes-extended/tzdata/tzdata_2015e.bb
index 9179d7b..92389a9 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"



More information about the Openembedded-commits mailing list