Re: Making /etc/localtime a symlink?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 04, 2006 at 03:26:23PM +0200, Nils Philippsen wrote:
> > So imho this would involve bundling /etc/localtime as a symlink in
> > glibc, a dep to tzdata (there is a dep from glibc-common to tzdata) and
> > adjusting installer etc. to not make copies but create symlinks.
> > 
> > What do others think?
> 
> I think it would be better if tzdata would copy the updated localtime
> file from /usr/share/zoneinfo/... (via %post) when upgrading depending
> on ZONE in /etc/sysconfig/clock. To allow custom timezones (real
> customized tz files or timezones the config tools don't know about) I
> propose to use ZONE=custom upon which neither tzdata nor
> system-config-date would touch /etc/localtime. Petr, what do you think?

tzdata can't do that, since:
a) it is a *.noarch.rpm package
b) it can't rely on bash and coreutils being installed for its %post,
   that would be a fatal dependency loop

But, glibc-common since ~ September 2005 does that in its

%triggerin common -p /usr/sbin/tzdata-update -- tzdata

	Jakub

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux