no time selection screen in installer anymore

Yuri Pankov yuripv at yuripv.dev
Sat Mar 20 08:07:11 UTC 2021


Yuri Pankov wrote:
> Installing from
> FreeBSD-14.0-CURRENT-amd64-20210318-a771bf748f9-245511-disc1.iso, I
> noticed that there's no time selection screen anymore; TZ is there, date
> is there, and only time is missing.
> 
> Not that I miss it much, but it does not seem to be removed from source,
> so I'm wondering if it's recent dialog update that broke it?

Apparently dialog does not like the height of 2 anymore here (while it
still works for --calendar):

usr.sbin/bsdinstall/scripts/time:

TIME=$(dialog --backtitle 'FreeBSD Installer' \
        --title 'Time & Date' \
        --ok-label 'Set Time' \
        --cancel-label 'Skip' \
        --defaultno \
        --time-format '%H%M.%S' \
        --timebox '' 2 40 \
2>&1 1>&3) && date $TIME

We could use a height of 0 for minimal possible size.


More information about the freebsd-current mailing list