History log of /freebsd/usr.sbin/bsdinstall/scripts/time (Results 1 – 11 of 11)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/13.4.0
# 2d9ff965 12-Jun-2024 Ed Maste <emaste@FreeBSD.org>

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 N

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

show more ...


Revision tags: release/14.1.0, release/13.3.0, release/14.0.0
# 160ccec8 11-Oct-2023 Alfonso S. Siciliano <asiciliano@FreeBSD.org>

bsdinstall: restore --calendar

Restore --calendar to select a date because bsddialog(1) >= 0.4
provides a calendar dialog.


# c0e249d3 15-Aug-2023 Lars Kellogg-Stedman <lars@oddbit.com>

bsdinstall: avoid conflicts with fd 3

Throughout the bsdinstall script fd 3 is used by f_dprintf (set through
$TERMINAL_STDOUT_PASSTHRU). In several places in the bsdinstalls scripts,
we use fd 3 to

bsdinstall: avoid conflicts with fd 3

Throughout the bsdinstall script fd 3 is used by f_dprintf (set through
$TERMINAL_STDOUT_PASSTHRU). In several places in the bsdinstalls scripts,
we use fd 3 to juggle stdout when calling out to other tools, which can
cause the installer to fail with a "Bad file descriptor" error when
f_dprintf attempts to use it.

This commit replaces all constructs like this:

exec 3>&1
SOME_VARIABLE=$(some command 2>&1 1>&3)
exec 3>&-

With:

exec 5>&1
SOME_VARIABLE=$(some command 2>&1 1>&5)
exec 5>&-

PR: 273148
Reviewed by: corvink
Fixes: 1f7746d81f53447ac15cc99395bb714d4dd0a4da ("bsdinstall: stop messing with file descriptors")
MFC after: 1 week

show more ...


# d0b2dbfa 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


Revision tags: release/13.2.0, release/12.4.0
# cc42ef53 24-May-2022 Brad Davis <brd@FreeBSD.org>

bsdinstall: allow whitelabeling the scripts

Approved by: allanjude, asiciliano
Differential Revision: https://reviews.freebsd.org/D35197
Sponsored by: Rubicon Communications, LLC ("Netgate")


Revision tags: release/13.1.0
# 268c47b9 26-Mar-2022 Alfonso S. Siciliano <asiciliano@FreeBSD.org>

bsdinstall time: Revert dialog title

Revert dialog title like before dialog(1) replacement
0e5c72c3cc5471dfa8cb42b018d623b1ef15dbe8.

Reported by: jrtc27
Approved by: bapt (mentor)
Differential Re

bsdinstall time: Revert dialog title

Revert dialog title like before dialog(1) replacement
0e5c72c3cc5471dfa8cb42b018d623b1ef15dbe8.

Reported by: jrtc27
Approved by: bapt (mentor)
Differential Revision: https://reviews.freebsd.org/D34647

show more ...


# 0e5c72c3 23-Mar-2022 Alfonso S. Siciliano <asiciliano@FreeBSD.org>

bsdinstall time: Replace dialog with bsddialog

Replace (LGPL) dialog utility with (BSD-2-Clause) bsddialog utility,
'dialog --calendar' is replaced by 'bsddialog --datebox' with same
features but di

bsdinstall time: Replace dialog with bsddialog

Replace (LGPL) dialog utility with (BSD-2-Clause) bsddialog utility,
'dialog --calendar' is replaced by 'bsddialog --datebox' with same
features but different User Interface.

Approved by: bapt (mentor)
Differential Revision: https://reviews.freebsd.org/D34583

show more ...


Revision tags: release/12.3.0
# d3f0c032 19-Apr-2021 Yuri Pankov <yuripv@FreeBSD.org>

bsdinstall: restore time selection screen

Apparently new dialog does not like the height of 2 for the
timebox widget, use 0 (minimum size) instead.

Do the same for calendar widget as it does not ch

bsdinstall: restore time selection screen

Apparently new dialog does not like the height of 2 for the
timebox widget, use 0 (minimum size) instead.

Do the same for calendar widget as it does not change the
appearance and to prevent possible future surprises.

Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D29720

show more ...


Revision tags: release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0, release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0
# d4e5caaf 14-Jul-2016 Allan Jude <allanjude@FreeBSD.org>

Make the new 'set date and time' dialog default to skip

X-MFC-With: 302790
Requested by: nwhitehorn


# 09c4000a 14-Jul-2016 Allan Jude <allanjude@FreeBSD.org>

bsdinstall: Prompt user to set the date and time after selecting timezone

Not having the correct date and time makes many PKI based things not work

In 10 and 11, it can mean that Unbound, ntpd, and

bsdinstall: Prompt user to set the date and time after selecting timezone

Not having the correct date and time makes many PKI based things not work

In 10 and 11, it can mean that Unbound, ntpd, and sshd won't start

Submitted by: des (original patch)
MFC after: 7 days

show more ...


Revision tags: release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0
# 2118f387 18-Feb-2011 Nathan Whitehorn <nwhitehorn@FreeBSD.org>

Import bsdinstall. This is meant to be (eventually in conjunction with
pc-sysinstall) a replacement for sysinstall in the 9.0 release and beyond.
Currently supported platforms are sparc64, pc98, i386

Import bsdinstall. This is meant to be (eventually in conjunction with
pc-sysinstall) a replacement for sysinstall in the 9.0 release and beyond.
Currently supported platforms are sparc64, pc98, i386, amd64, powerpc, and
powerpc64. Integration into the build system will occur in the coming
weeks.

Merging with pc-sysinstall will use this code as a frontend, while
temporarily retaining the interactive partition editor here. This work
will be done in parallel with improvements on this code and release
integration.

Thanks to all who have provided testing and comments!

show more ...