Skip to contentSkip to conversation

tzdata: Add marking for config files in recipe

PATCH Superseded Li Zhou 3 participants 5 messages Jul 29, 2015 – Jul 30, 2015

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Li Zhou

author
#0 lore raw

PATCH 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.inc |    2 ++
 1 file changed, 2 insertions(+)
meta/recipes-extended/tzdata/tzdata.inc +2 -0
index ee56d36..25743f6 100644
@@ -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"
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 2 lines · Li Zhou
 meta/recipes-extended/tzdata/tzdata.inc |    2 ++

This inc file was removed last month, please rebase to master.

Ross

author
#2 lore raw

I have setup up poky as below doc described:
http://www.yoctoproject.org/docs/1.8/yocto-project-qs/yocto-project-qs.html

     $ git clone http://git.yoctoproject.org/git/poky
     $ cd poky
     $ git checkout -b fido origin/fido
     $ source oe-init-build-env

Do you mean that I should use branch master instead of fido? Has fido been abandoned? Thanks.

Quoted 9 lines · Ross

On 29 July 2015 at 02:49, Li Zhou <[email protected] <mailto:[email protected]>> wrote:

     meta/recipes-extended/tzdata/tzdata.inc |    2 ++

This inc file was removed last month, please rebase to master.

Ross

Signature · 3 lines
Best Regards!
Zhou Li
Phone number: 86-10-84778511
#3 lore raw
Quoted 4 lines · Li

Do you mean that I should use branch master instead of fido? Has fido been abandoned?
Thanks.

For patch submissions you generally submit to master and then request a backport to the stable branches.

Ross

#4 lore raw
In reply to Zhou, Li
Quoted 10 lines · Li

I have setup up poky as below doc described:
http://www.yoctoproject.org/docs/1.8/yocto-project-qs/yocto-project-qs.html

      $ git clone http://git.yoctoproject.org/git/poky
      $ cd poky
      $ git checkout -b fido origin/fido
      $ source oe-init-build-env

Do you mean that I should use branch master instead of fido? Has fido been abandoned?

You're sending patch for master, so you should prepare and test in in master not in fido branch.

If you want to get it applied in fido, then first get it merged in master branch and then ask for backport/resend for fido or other release branches.

Quoted 25 lines

Thanks.

Quoted 10 lines · Ross

On 29 July 2015 at 02:49, Li Zhou <[email protected] <mailto:[email protected]>> wrote:

     meta/recipes-extended/tzdata/tzdata.inc |    2 ++

This inc file was removed last month, please rebase to master.

Ross

Signature · 10 lines
Best Regards!
Zhou Li
Phone number: 86-10-84778511


-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]