Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jun 2021 17:09:22 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 6ce785c50bfa - main - bsdinstall: Also copy /var/db/zoneinfo
Message-ID:  <202106301709.15UH9MOE058079@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=6ce785c50bfacf4fc8f7529e1bf6e2966dc5fac1

commit 6ce785c50bfacf4fc8f7529e1bf6e2966dc5fac1
Author:     Jose Luis Duran <jlduran@users.noreply.github.com>
AuthorDate: 2021-06-20 02:22:48 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2021-06-30 17:08:26 +0000

    bsdinstall: Also copy /var/db/zoneinfo
    
    Per tzsetup(8), /etc/localtime and /var/db/zoneinfo go hand in hand.
    
    Reviewed by:    imp@
    Pull Request:   https://github.com/freebsd/freebsd-src/pull/486
---
 usr.sbin/bsdinstall/scripts/jail | 1 +
 1 file changed, 1 insertion(+)

diff --git a/usr.sbin/bsdinstall/scripts/jail b/usr.sbin/bsdinstall/scripts/jail
index d9b5c8eb3cb4..3110f744207c 100755
--- a/usr.sbin/bsdinstall/scripts/jail
+++ b/usr.sbin/bsdinstall/scripts/jail
@@ -137,6 +137,7 @@ trap error SIGINT	# SIGINT is bad again
 bsdinstall config  || error "Failed to save config"
 cp /etc/resolv.conf $1/etc
 cp /etc/localtime $1/etc
+cp /var/db/zoneinfo $1/var/db
 
 # Run post-install script
 if [ -f $TMPDIR/bsdinstall-installscript-ab ]; then



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106301709.15UH9MOE058079>