All of lore.kernel.org
 help / color / mirror / Atom feed
From: Koen Kooi <koen@dominion.thruhere.net>
To: Ross Burton <ross.burton@intel.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 2/2] tzdata: install /etc/localtime alongside /etc/timezone
Date: Wed, 29 Aug 2012 16:47:10 +0200	[thread overview]
Message-ID: <1D285050-76EB-4F89-9FB2-0474C5E34102@dominion.thruhere.net> (raw)
In-Reply-To: <ba35808d6976ff17d3732ffcdb56e71f8014137c.1346250187.git.ross.burton@intel.com>


Op 29 aug. 2012, om 16:24 heeft Ross Burton <ross.burton@intel.com> het volgende geschreven:

> Lots of code (such a GLib) expects this to exist and link to the current
> timezone data.
> 
> Signed-off-by: Ross Burton <ross.burton@intel.com>
> ---
> meta/recipes-extended/tzdata/tzdata_2012d.bb |    3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-extended/tzdata/tzdata_2012d.bb b/meta/recipes-extended/tzdata/tzdata_2012d.bb
> index 31e1266..9741101 100644
> --- a/meta/recipes-extended/tzdata/tzdata_2012d.bb
> +++ b/meta/recipes-extended/tzdata/tzdata_2012d.bb
> @@ -5,7 +5,7 @@ LICENSE = "PD"
> LIC_FILES_CHKSUM = "file://asia;beginline=2;endline=3;md5=06468c0e84ef4d4c97045a4a29b08234"
> DEPENDS = "tzcode-native"
> 
> -PR = "r1"
> +PR = "r2"
> 
> inherit allarch
> 
> @@ -49,6 +49,7 @@ do_install () {
>         # Install default timezone
>         install -d ${D}${sysconfdir}
>         echo ${DEFAULT_TIMEZONE} > ${D}${sysconfdir}/timezone
> +        ln -s ${datadir}/zoneinfo/${DEFAULT_TIMEZONE} ${D}${sysconfdir}/localtime

Awesome! I've been campaigning for the symlink solution for a while now. Good thing that split-/usr nonsense is over now.


  reply	other threads:[~2012-08-29 14:59 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-29 14:24 [PATCH 0/2] tzdata fixes Ross Burton
2012-08-29 14:24 ` [PATCH 1/2] tzdata: this package isn't architecture specific Ross Burton
2012-08-29 14:24 ` [PATCH 2/2] tzdata: install /etc/localtime alongside /etc/timezone Ross Burton
2012-08-29 14:47   ` Koen Kooi [this message]
2012-08-29 14:49     ` Paul Eggleton
2012-08-29 15:23     ` Burton, Ross
2012-08-29 16:50       ` Koen Kooi
2012-08-29 16:57         ` Burton, Ross
2012-08-29 17:01           ` Paul Eggleton
2012-08-29 17:31             ` Burton, Ross
2012-08-29 19:12               ` Phil Blundell
2012-08-29 19:20                 ` Burton, Ross
2012-08-29 21:38                   ` Khem Raj
2012-08-29 21:50                     ` Burton, Ross
2012-08-29 22:22                       ` Phil Blundell
2012-08-29 22:45                         ` Khem Raj
2012-08-30 10:00                         ` Burton, Ross
2012-08-30 10:21                           ` Phil Blundell
2012-08-31 14:29                         ` Phil Blundell
2012-08-31 14:34                           ` Khem Raj
2012-08-31 16:01                           ` Richard Purdie
2012-08-31 16:45                             ` Khem Raj
2012-08-31 21:31                               ` Khem Raj
2012-09-01 17:30                                 ` Andrea Adami
2012-09-04 16:28                                   ` Mark Hatle
2012-09-04 19:26                                     ` Burton, Ross
2012-09-04 19:44                                       ` Mark Hatle
2012-09-04 20:06                                         ` Burton, Ross
2012-09-04 20:40                                           ` Mark Hatle
2012-09-04 21:29                                     ` Khem Raj
2012-09-06  9:32                                       ` Paul Eggleton
2012-09-07 16:30                                         ` Khem Raj
2012-09-04 16:16                             ` Mark Hatle
2012-08-30  9:48         ` Burton, Ross
2012-08-29 14:45 ` [PATCH 0/2] tzdata fixes Koen Kooi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1D285050-76EB-4F89-9FB2-0474C5E34102@dominion.thruhere.net \
    --to=koen@dominion.thruhere.net \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=ross.burton@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.