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

git at git.openembedded.org git at git.openembedded.org
Mon Aug 10 19:41:16 UTC 2015


Module: openembedded-core.git
Branch: fido
Commit: 75c8f094ddd652e6f91c8f879537c10ec08b7043
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=75c8f094ddd652e6f91c8f879537c10ec08b7043

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

(From OE-Core rev: 1eefbf6bdf5e720767673a754e95c62f2ffcc82f)

Signed-off-by: Li Zhou <li.zhou at windriver.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 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"



More information about the Openembedded-commits mailing list