Revision tags: release/13.3.0, release/14.0.0 |
|
#
47535ba3 |
| 26-Oct-2023 |
Fernando Apesteguía <fernape@FreeBSD.org> |
bsdinstall: Remove unused variables in fetchmissingdists
ALL_DISTRIBUTIONS and VERIFY_MANIFEST_SIG
They are neither used in the script nor exported. Not referenced anywhere in bsdinstall/*
Approve
bsdinstall: Remove unused variables in fetchmissingdists
ALL_DISTRIBUTIONS and VERIFY_MANIFEST_SIG
They are neither used in the script nor exported. Not referenced anywhere in bsdinstall/*
Approved by: imp@ Differential Revision: https://reviews.freebsd.org/D42369
show more ...
|
#
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 |
|
#
12b92f3e |
| 14-Oct-2022 |
Kyle Evans <kevans@FreeBSD.org> |
bsdinstall: use the correct DISTDIR for fetching local distfiles
fetchmissingdists naturally sets BSDINSTALL_DISTDIR to a directory in the new filesystem that it can write fetched distfiles to. As
bsdinstall: use the correct DISTDIR for fetching local distfiles
fetchmissingdists naturally sets BSDINSTALL_DISTDIR to a directory in the new filesystem that it can write fetched distfiles to. As a result, BSDINSTALL_DISTSITE was incorrectly set to the scratch space on /mnt for the call to distfetch when grabbing local distfiles, and it would subsequently fail.
Switch to using the copy of BSDINSTALL_DISTDIR that we stashed off coming into fetchmissingdists; this one is in-fact set to the path where the local distfiles are stored.
Patch suggested by jrtc27.
Reported and tested by: Daniel O'Connor <darius dons net au> MFC after: 1 week
show more ...
|
#
2913e785 |
| 14-Sep-2022 |
Brad Davis <brd@FreeBSD.org> |
bsdinstall: fix a couple stragglers in whitelabeling the scripts
PR: 265797 Reviewed by: allanjude, asiciliano Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://r
bsdinstall: fix a couple stragglers in whitelabeling the scripts
PR: 265797 Reviewed by: allanjude, asiciliano Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D36235
show more ...
|
#
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 |
|
#
48af6ad9 |
| 29-Mar-2022 |
Alfonso S. Siciliano <asiciliano@FreeBSD.org> |
bsdinstall fetchmissingdists: Replace dialog with bsddialog
Replace (LGPL) dialog utility with (BSD-2-Clause) bsddialog utility.
Approved by: bapt (mentor) Differential Revision: https://reviews.f
bsdinstall fetchmissingdists: Replace dialog with bsddialog
Replace (LGPL) dialog utility with (BSD-2-Clause) bsddialog utility.
Approved by: bapt (mentor) Differential Revision: https://reviews.freebsd.org/D34654
show more ...
|
#
f0ec0fda |
| 27-Jan-2022 |
Tom Jones <thj@FreeBSD.org> |
bsdinstall: Add quotes around error message argument
When error is called with a message with spaces (and probably multiple lines) these are passed into dialog unquoted and an error message was pres
bsdinstall: Add quotes around error message argument
When error is called with a message with spaces (and probably multiple lines) these are passed into dialog unquoted and an error message was presented, wrap with quotes.
Reviewed by: bapt, allanjude Sponsored by: Ampere Computing LLC Sponsored by: Klara Inc. Differential Revision: https://reviews.freebsd.org/D33918
show more ...
|
Revision tags: release/12.3.0 |
|
#
40923b0c |
| 28-May-2021 |
Nathan Whitehorn <nwhitehorn@FreeBSD.org> |
Fix scripted installation from media without local distfiles.
The bsdinstall script target did not have the infrastructure to fetch distfiles from a remote server the way the interactive installer d
Fix scripted installation from media without local distfiles.
The bsdinstall script target did not have the infrastructure to fetch distfiles from a remote server the way the interactive installer does on e.g. bootonly media. Solve this by factoring out the parts of the installer that deal with fetching missing distributions into a new install stage called 'fetchmissingdists', which is called by both the interactive and scripted installer frontends.
In the course of these changes, cleaned up a few other issues with the fetching of missing distribution files and added a warning if fetching the MANIFEST file, which is used to verify the integrity of the distribution files. We should at some point add cryptographic signatures to MANIFEST so that it can be fetched safely if not present on the install media (which it is for bootonly media).
Initial patch by: Vinícius Zavam PR: 255659, 250928 Reviewed by: dteske MFC after: 4 weeks Differential Revision: https://reviews.freebsd.org/D27121
show more ...
|