HomeFreeBSD

tzsetup: correct timezone symlink target

Description

tzsetup: correct timezone symlink target

In chroot mode tzsetup prepended the chroot path to the symlink target,
which is not correct. Use the same path for the symlink regardless of
chroot mode.

PR: 281332
Reported by: scf, Herbert J. Skuhra
Reviewed by: olce
Fixes: 5e16809c953f ("tzsetup: symlink /etc/localtime instead of co...")
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D46725

Details

Provenance
emasteAuthored on Sep 21 2024, 11:13 AM
Parents
rG90cd9c203eb5: buf_ring: Use atomic accesses for head/tail values
Branches
Unknown
Tags
Unknown