Re: /etc/localtime symlink in poudriere jails

From: Christopher Hall <christopherhall.hsw_at_gmail.com>
Date: Wed, 11 Dec 2024 09:56:59 UTC
Hello Nuno,

On Wed, 11 Dec 2024 08:28:09 +0000, Nuno Teixeira <eduardo@freebsd.org>
wrote:

> Hello,
> 
> I'm trying to find why there is no /etc/localtime in poudriere jails
> and I need to create manually a symlink for some R-cran tests inside
> interactive jail.
> 
> Any hints on how to automatize this task?

If you want to set a specific timezone, you could use the tzsetup(8)
command to set it. This command supports a chroot option, so you could
configure the jail from the host.

> 
> Not sure if this is the proper mailing for this issue but just
> checking opinions before I open a poudriere pr.
> 
> Thanks in advance,
> 
> -- 
> Nuno Teixeira
> FreeBSD UNIX:  <eduardo@FreeBSD.org>   Web:  https://FreeBSD.org


-- 
Best Regards.
Christopher Hall.