The branch main has been updated by emaste:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=2d9ff965b554840cfc0791f96623f6cf5795d40d

commit 2d9ff965b554840cfc0791f96623f6cf5795d40d
Author:     Ed Maste <[email protected]>
AuthorDate: 2024-06-12 15:33:46 +0000
Commit:     Ed Maste <[email protected]>
CommitDate: 2024-11-12 19:49:04 +0000

    bsdinstall: skip tzsetup UTC question
    
    During installation bsdinstall asks (via tzsetup):
    
    > Is this machine's CMOS clock set to UTC?  If it is set to local time,
    > or you don't know, please choose NO here!
    
    Most operating systems, except for Windows, use UTC in the hardware
    real-time clock by default.  This question from tzsetup is presumably
    intended to aid in dual-boot-with-Windows configurations, but these
    represent a fraction of all FreeBSD installs.
    
    Rather than asking this question on every install just default to UTC.
    Users who want to dual-boot Windows can create /etc/wall_cmos_clock.
    We can look at making this smarter in the future.
    
    Reviewed by:    bapt, brooks, brd, cy, 0mp, ngie
    Relnotes:       yes
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D45569
---
 usr.sbin/bsdinstall/scripts/time | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.sbin/bsdinstall/scripts/time b/usr.sbin/bsdinstall/scripts/time
index fe82ce274729..7197ae4e7f47 100755
--- a/usr.sbin/bsdinstall/scripts/time
+++ b/usr.sbin/bsdinstall/scripts/time
@@ -29,7 +29,7 @@ BSDCFG_SHARE="/usr/share/bsdconfig"
 . $BSDCFG_SHARE/common.subr || exit 1
 
 # Select timezone
-chroot $BSDINSTALL_CHROOT tzsetup
+chroot $BSDINSTALL_CHROOT tzsetup -s
 
 # Switch to target timezone
 saved_TZ="$TZ"

Reply via email to