From 75c8f094ddd652e6f91c8f879537c10ec08b7043 Mon Sep 17 00:00:00 2001 From: Li Zhou Date: Thu, 30 Jul 2015 13:20:23 +0800 Subject: 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 Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-extended/tzdata/tzdata.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta') diff --git a/meta/recipes-extended/tzdata/tzdata.inc b/meta/recipes-extended/tzdata/tzdata.inc index ee56d36395..25743f6740 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" -- cgit 1.2.3-korg