On Tue, Jul 06, 2021 at 01:20:47PM -0400, Ben Cotton wrote:
> https://fedoraproject.org/wiki/Changes/tzdata-minimal
> 
> == Summary ==
> Split the tzdata package into two parts - tzdata and tzdata-minimal.
> tzdata will require tzdata-minimal.  tzdata-minimal provides the
> minimal files needed to support UTC on containers.
> 
> == Owner ==
> * Name: Patsy Griffin (Franklin)
> * Email: pa...@redhat.com
> 
> 
> == Detailed Description ==
> This is the first step towards providing support for a minimal, UTC
> only, version of tzdata for containers.  The tzdata-minimal package
> will be a stand-alone, UTC only, subset of tzdata. The tzdata package
> will require tzdata-minimal.
> 
> With this framework in place, other packages can develop code to
> detect a minimal tzdata installation.  These packages will also need
> to provide appropriate messages when users request timezone
> information not available when only tzdata-minimal is installed.

In general, I like the idea of making it easier to not install tzdata.
For many machines it's completely unnecessary, and 5MB is enough to
make this worthwhile.

I don't know enough about all the consumers to comment on the details.
FWIW, systemd-timedated already has a reasonable message that encompasses
both possible errors:

  $ timedatectl set-timezone Europe/Warsaw2
  Failed to set time zone: Invalid or not installed time zone 'Europe/Warsaw2'

But I think it'd be useful to use a different message if we can
distinguish the two cases. I'd be happy to take a patch...

Zbyszek
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to