[Bug 202058] bsdinstall - Disable dialog(3) for distfetch/checksum/distextract targets
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Nov 25 22:55:23 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202058
--- Comment #8 from Devin Teske <dteske at FreeBSD.org> ---
I still need to make sure that we build upon bapt, emaste, and my own work thus
far with respect to the following (previously mentioned) work:
https://svnweb.freebsd.org/base?view=revision&revision=307802 [bapt+emaste]
https://svnweb.freebsd.org/base?view=revision&revision=306648 [emaste]
https://svnweb.freebsd.org/base?view=revision&revision=306375 [emaste+dteske]
I had previously suggested that a good solid approach would be to first and
foremost follow the approach of bapt with respect to tzsetup, and then
optionally add a command-line flag to each of the applications to enable
runtime disabling of dialog(1).
I do like to think of iterative approaches that build upon and reinforce prior
works.
The shortcomings of distfetch, distextract, and cksum are also solved by way of
fixing the other issue of them not being able to run in a dialog(1,3)-less
environment -- regardless of that being a decision that is made at compile-time
or runtime.
I think the best approach would be to use isatty(3)/stty(1) at runtime to
invoke the same code-path as WITHOUT_DIALOG.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-sysinstall
mailing list