From nobody Tue Nov 12 19:49:39 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Xnxnx4xbVz5d1BZ; Tue, 12 Nov 2024 19:49:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xnxnx1Q8cz44VC; Tue, 12 Nov 2024 19:49:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731440981; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qku0/3lvkhIiCXM+wedawsTaoZd+g+n6QheNncLTXkg=; b=K9XGALAhO3t6a39jZx8YIGOeyvc4KWhyHjz+LThCgDazR0I4DWe6KFFH26NmpT2xFRog/x zU3NZ3AVStH0h1kqGAJ5sEn1aeEli6CL8592vnHVmAdW53aDKiuFXdzcAdDcxHE3TCny4l LPZRSRHRB2X6MLLFMl4sPGUCoUahFxcFhCcr4Kzv9aSNILcCbPT9t4IYswLQ4/OsgbduWn KSHQHGUtlKmkCFcBdScAFYlafrl59oQzXdCDRjvTCphcdNebUiRnwvY3lnkN2HXXGDmPyy FQKOpUuaozgI93UL9W2/xdcOjWg3/zvsrK78cyJxlV9HvZiQ2GdJ8CwBqX0zjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731440981; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qku0/3lvkhIiCXM+wedawsTaoZd+g+n6QheNncLTXkg=; b=px1TsOs/8sQYM5VY2xb7oreZ0X42mXarN6NOokDDKbaZ5kRnsQxLu9Befwn2DoYXehbLBn tEvG15qJ4ND9O0Xx4PypiGoz01nmggtOojFIdrJKW+cJWpZoA/H8ERk4RzTklnoSpQdosG uCUHbwWMn1mS7cQcZvDW4iuHLL2pRtg7VKkl+NgSikdT7NFPBAzI3YkDAxaaJ+mRVYSn5W tySallPTK+jHXMSUL8VfQMSWU8mezfqjBMh14bXViV4vE7gUFXgCLeLQataTJb+uJF+Tsw o1yDZ1F+p5q1zAPCNj53EO9q+1eYGi9rogBmBqBR0iWIzvOxrVMFtCBi3sE4Hw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731440981; a=rsa-sha256; cv=none; b=Pkq7mT/2lt6L2kl6spIrdSPqcAh6DWO01OwPPSWVDi5HJ3Dj3UxUt3bZD2GF84uR5Jo9YD Msq+9Yfsk/qcoEsSKl4GH30atV4+3EP+jp9jjCqNmUELjVPU6SltdcTAbBMNZIsD1vnU8f TKm25C7aq8FcVIAA2ThWlLu7p1i05OGuZL71smxPiDh/yVPL5nhWp9H52bsChwgu/UlH5+ 2juVfXGa1VGX0ctbCJyAk6UIcoJE5UUxXOXsg3xAC/Z3ooYmAav0AC+I+Q9DdugxgEyBV4 zoiHRBPVI7S0g9MgnFIDWgXBHnvZlFp8JTxmaMUtEpPx9m05Ll/zkYXTt2F0Dg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Xnxnv2w2LzNFw; Tue, 12 Nov 2024 19:49:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4ACJndiB093386; Tue, 12 Nov 2024 19:49:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4ACJnd5T093383; Tue, 12 Nov 2024 19:49:39 GMT (envelope-from git) Date: Tue, 12 Nov 2024 19:49:39 GMT Message-Id: <202411121949.4ACJnd5T093383@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 2d9ff965b554 - main - bsdinstall: skip tzsetup UTC question List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2d9ff965b554840cfc0791f96623f6cf5795d40d Auto-Submitted: auto-generated The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=2d9ff965b554840cfc0791f96623f6cf5795d40d commit 2d9ff965b554840cfc0791f96623f6cf5795d40d Author: Ed Maste AuthorDate: 2024-06-12 15:33:46 +0000 Commit: Ed Maste 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"