|
Revision tags: release/15.0.0-p1, release/13.5.0-p8, release/14.3.0-p7 |
|
| #
dac74b20 |
| 09-Dec-2025 |
Ed Maste <emaste@FreeBSD.org> |
bsdinstall: Drop "Technology preview" from package sets
And refer to dist sets as "legacy." This matches our expectation for FreeBSD 16.0.
Reviewed by: cperciva Sponsored by: The FreeBSD Foundatio
bsdinstall: Drop "Technology preview" from package sets
And refer to dist sets as "legacy." This matches our expectation for FreeBSD 16.0.
Reviewed by: cperciva Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D54156
show more ...
|
|
Revision tags: release/15.0.0, release/14.3.0-p6, release/13.5.0-p7 |
|
| #
74921426 |
| 22-Oct-2025 |
Jose Luis Duran <jlduran@FreeBSD.org> |
bsdinstall: jail: Fix DISTMENU items
The menu was incorrectly using the fourth column (distname) instead of the first (dist) of the MANIFEST.
The actual file name is on the first column of the MANI
bsdinstall: jail: Fix DISTMENU items
The menu was incorrectly using the fourth column (distname) instead of the first (dist) of the MANIFEST.
The actual file name is on the first column of the MANIFEST file. Remove the .txz part of the name to build the menu options.
Reviewed by: jamie MFC after: 5 days Differential Revision: https://reviews.freebsd.org/D53177
show more ...
|
|
Revision tags: release/13.5.0-p6, release/14.3.0-p5 |
|
| #
4ee348e2 |
| 17-Oct-2025 |
Jose Luis Duran <jlduran@FreeBSD.org> |
bsdinstall: Fix typos
Reviewed by: emaste MFC after: 2 days Differential Revision: https://reviews.freebsd.org/D53170
|
| #
abd94245 |
| 09-Oct-2025 |
Ed Maste <emaste@FreeBSD.org> |
bsdinstall: Tweak pkgbase/dist set labels
Have the button labels refer to the artifact type directly (distribution sets / packages), and use "Tech Preview" as packaged base is no longer experimental
bsdinstall: Tweak pkgbase/dist set labels
Have the button labels refer to the artifact type directly (distribution sets / packages), and use "Tech Preview" as packaged base is no longer experimental.
Reviewed by: ivy, cperciva Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D52999
show more ...
|
| #
8d0a9051 |
| 03-Oct-2025 |
Lexi Winter <ivy@FreeBSD.org> |
bsdinstall: Improve pkgbase handling for jails
Add a new --jail option to the pkgbase script which installs jail-specific set variants if they exist:
* "minimal" is replaced with "minimal-jail"
*
bsdinstall: Improve pkgbase handling for jails
Add a new --jail option to the pkgbase script which installs jail-specific set variants if they exist:
* "minimal" is replaced with "minimal-jail"
* A kernel is not installed.
* For sets shown in the component selection dialogue, only show the appropriate variant (jail or non-jail) for the target.
Modify the jail script to pass --jail to the pkgbase script.
Remove the redundant --no-kernel option, which was added in 15.0 and was only used to install jails.
MFC after: 3000ms Reviewed by: ifreund_freebsdfoundation.org Sponsored by: https://www.patreon.com/bsdivy Differential Revision: https://reviews.freebsd.org/D52829
show more ...
|
|
Revision tags: release/13.5.0-p5, release/14.2.0-p7, release/14.3.0-p4, release/14.3.0-p3, release/14.2.0-p6, release/13.5.0-p4 |
|
| #
ccbd3de0 |
| 27-Aug-2025 |
Jessica Clarke <jrtc27@FreeBSD.org> |
bsdinstall: Copy /etc/localtime as symlink in jail script
Without -P (or -R, which defaults to enabling -P) symlinks are dereferenced and so the target file is copied, not the symlink itself.
Fixes
bsdinstall: Copy /etc/localtime as symlink in jail script
Without -P (or -R, which defaults to enabling -P) symlinks are dereferenced and so the target file is copied, not the symlink itself.
Fixes: 5e16809c953f ("tzsetup: symlink /etc/localtime instead of copying")
show more ...
|
|
Revision tags: release/13.5.0-p3, release/14.2.0-p5, release/14.3.0-p2, release/14.3.0-p1, release/14.2.0-p4, release/13.5.0-p2, release/14.3.0 |
|
| #
9de72af2 |
| 23-May-2025 |
Pierre Pronchery <khorben@FreeBSD.org> |
bsdinstall: restore the environment when restarting
It is possible to restart the installation process upon errors, when installing normally through the `auto` script, or when installing a jail with
bsdinstall: restore the environment when restarting
It is possible to restart the installation process upon errors, when installing normally through the `auto` script, or when installing a jail with the `jail` script. However, some values obtained interactively from the user or guessed by some scripts were kept in the environment when restarting the process; this made it impossible to re-run some steps as expected after the restart.
For instance, if a bad choice of mirror was made in the `mirrorselect` phase, restarting the installer remembered the choice made, and would never prompt for a different one again. Rebooting was then the only easy way out of this situation.
This change restores a pre-defined list of environment variables when restarting the installation process.
PR: 266987 Reviewed by: emaste Approved by: philip (mentor) Sponsored by: The FreeBSD Foundation Differential revision: https://reviews.freebsd.org/D42281
show more ...
|
| #
4daf244a |
| 14-Apr-2025 |
Isaac Freund <ifreund@freebsdfoundation.org> |
bsdinstall: add pkgbase prompt to jail script
Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D49823
|
|
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0 |
|
| #
731704f5 |
| 06-Jan-2024 |
Michael Gmelin <grembo@FreeBSD.org> |
bsdinstall: Fix installation script splitting
This allows writing setup scripts that contain lines starting with "#!", e.g., a shebang when creating a shell script using cat:
#!/bin/sh echo
bsdinstall: Fix installation script splitting
This allows writing setup scripts that contain lines starting with "#!", e.g., a shebang when creating a shell script using cat:
#!/bin/sh echo "Populate rc.local" cat >/etc/rc.local<<EOF #!/bin/sh echo booted | logger -s -t 'example' EOF
Prevent accidentally running a setup script left behind by a previous invocation of bsdinstall.
Reviewed by: imp, jrtc27 Differential Revision: https://reviews.freebsd.org/D43350
show more ...
|
|
Revision tags: release/14.0.0 |
|
| #
b9cf9892 |
| 17-Oct-2023 |
Fernando Apesteguía <fernape@FreeBSD.org> |
bsdinstall: Fail nicely in jail target
If the directory is empty we fail with a message regarding mkdir in which the empty directory can't be seen because it is not quoted.
Show a nice message so t
bsdinstall: Fail nicely in jail target
If the directory is empty we fail with a message regarding mkdir in which the empty directory can't be seen because it is not quoted.
Show a nice message so the user knows what is going on.
Reviewed by: bapt@ Differential Revision: https://reviews.freebsd.org/D42252
show more ...
|
| #
01ab86f7 |
| 12-Oct-2023 |
Pierre Pronchery <pierre@freebsdfoundation.org> |
bsdinstall: reset the mirror when restarting
It is possible to restart the installation process upon errors, when installing normally through the `auto` script, or when setting up a jail with the `j
bsdinstall: reset the mirror when restarting
It is possible to restart the installation process upon errors, when installing normally through the `auto` script, or when setting up a jail with the `jail` script. However, some values obtained interactively from the user or guessed by some scripts are kept in the environment when restarting the process; this makes it impossible to run some steps as expected after the restart.
For instance, if a bad choice of mirror was made in the `mirrorselect` phase, restarting the installer remembers the choice made, and will never prompt for a different one. Rebooting is then the only easy way out of this situation.
This change only affects the `jail` script for now, as otherwise there is no way to tell if the value had been specifically set by the user before starting bsdinstall.
Reviewed by: bapt Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D42183
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 |
|
| #
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")
|
| #
4effc388 |
| 21-May-2022 |
Alfonso S. Siciliano <asiciliano@FreeBSD.org> |
bsdinstall jail: Replace dialog with bsddialog
Replace (LGPL) dialog utility with (BSD-2-Clause) bsddialog utility.
Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D35274
|
|
Revision tags: release/13.1.0, release/12.3.0 |
|
| #
4042b356 |
| 10-Nov-2021 |
Mateusz Piotrowski <0mp@FreeBSD.org> |
bsdinstall: Fix mirror selection
This is a follow-up to 2697622687708bffd4c3dcfc44f0c977a78e506d, which fixed 2 out of 3 broken uses of the mirrorselect script.
Reviewed by: emaste Approved by: ema
bsdinstall: Fix mirror selection
This is a follow-up to 2697622687708bffd4c3dcfc44f0c977a78e506d, which fixed 2 out of 3 broken uses of the mirrorselect script.
Reviewed by: emaste Approved by: emaste (src) MFC after: 7 days Differential Revision: https://reviews.freebsd.org/D32927
show more ...
|
| #
6ce785c5 |
| 20-Jun-2021 |
Jose Luis Duran <jlduran@users.noreply.github.com> |
bsdinstall: Also copy /var/db/zoneinfo
Per tzsetup(8), /etc/localtime and /var/db/zoneinfo go hand in hand.
Reviewed by: imp@ Pull Request: https://github.com/freebsd/freebsd-src/pull/486
|
| #
6f4c1456 |
| 07-Jun-2021 |
eoli3n <jonathan.kirszling@runbox.com> |
bsdinstall: Allow automation in jails
Set SCRIPT=/path/to/script env var to be able to automate bsdinstall to a jail.
Pull Request: https://github.com/freebsd/freebsd-src/pull/473 Reviewed by: alla
bsdinstall: Allow automation in jails
Set SCRIPT=/path/to/script env var to be able to automate bsdinstall to a jail.
Pull Request: https://github.com/freebsd/freebsd-src/pull/473 Reviewed by: allanjude
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, release/10.3.0 |
|
| #
11d38a57 |
| 28-Oct-2015 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Merge from head
Sponsored by: Gandi.net
|
| #
becbad1f |
| 13-Oct-2015 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Merge from head
|
| #
0f405ee7 |
| 28-Sep-2015 |
Navdeep Parhar <np@FreeBSD.org> |
Sync up with head (up to r288341).
|
| #
a1cb6af1 |
| 17-Sep-2015 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r287680 through r287877.
|
| #
f94594b3 |
| 12-Sep-2015 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Finish merging from head, messed up in previous attempt
|
| #
0705286b |
| 11-Sep-2015 |
Devin Teske <dteske@FreeBSD.org> |
Explicitly exit with success
MFC after: 3 days X-MFC-to: stable/10
|
|
Revision tags: release/10.2.0 |
|
| #
9268022b |
| 19-Nov-2014 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Merge from head@274682
|