History log of /src/usr.sbin/bsdinstall/scripts/pkgbase.in (Results 1 – 25 of 42)
Revision Date Author Comments
# a96230e0 15-Nov-2025 Colin Percival <cperciva@FreeBSD.org>

bsdinstall: Enable FreeBSD-base repo when pkgbase

When performing a pkgbase install, create a configuration file in
/usr/local/etc/pkg/repos/FreeBSD.conf which enables the FreeBSD-base
repository.

bsdinstall: Enable FreeBSD-base repo when pkgbase

When performing a pkgbase install, create a configuration file in
/usr/local/etc/pkg/repos/FreeBSD.conf which enables the FreeBSD-base
repository. (This repository is defined in /etc/pkg/FreeBSD.conf as
being disabled by default.)

Reported by: Mark Millard
Reviewed by: markj
MFC after: immediately (needed for 15.0-RC1)
Differential Revision: https://reviews.freebsd.org/D53777

show more ...


# bdfc223c 15-Nov-2025 Colin Percival <cperciva@FreeBSD.org>

bsdinstall: Don't install FreeBSD-base.conf

When installing e.g. 15.0-RC1, we want to get files from the 15.0-RC1
pkgbase repository; but running 'pkg upgrade' after installation should
get the late

bsdinstall: Don't install FreeBSD-base.conf

When installing e.g. 15.0-RC1, we want to get files from the 15.0-RC1
pkgbase repository; but running 'pkg upgrade' after installation should
get the latest bits build from releng/15.0.

With hat: re
MFC after: 8 hours (needed in 15.0-RC1)

show more ...


# 6b0909f9 14-Nov-2025 Colin Percival <cperciva@FreeBSD.org>

bsdinstall: Copy in all keys

The keys used for pkgbase signing are going to be placed in
/usr/share/keys/pkgbase-N where N is the FreeBSD major version
number; as such it's not sufficient to copy /u

bsdinstall: Copy in all keys

The keys used for pkgbase signing are going to be placed in
/usr/share/keys/pkgbase-N where N is the FreeBSD major version
number; as such it's not sufficient to copy /usr/share/keys/pkg
into the install chroot, but instead we need /usr/share/keys/*.

With hat: re
MFC after: 8 hours (needed in 15.0-RC1)
Differential Revision: https://reviews.freebsd.org/D53753

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 ...


# ed671620 02-Oct-2025 Lexi Winter <ivy@FreeBSD.org>

bsdinstall/pkgbase: Restore the kernel-dbg component

Commit 561dc357c2f5 changed the way we handle components in the prompt,
and accidentally resulted in the kernel-dbg component not being listed
si

bsdinstall/pkgbase: Restore the kernel-dbg component

Commit 561dc357c2f5 changed the way we handle components in the prompt,
and accidentally resulted in the kernel-dbg component not being listed
since we now hide all components ending in "-dbg".

Add an exception for kernel-dbg to bring it back.

Fixes: 561dc357c2f5 ("bsdinstall: Use package sets for pkgbase install")
MFC after: 3 seconds
Reviewed by: emaste
Sponsored by: https://www.patreon.com/bsdivy
Differential Revision: https://reviews.freebsd.org/D52826

show more ...


# eaecc955 29-Sep-2025 Lexi Winter <ivy@FreeBSD.org>

packages: Add an "optional" set

This is everything in "base" but without compilers. This means we
have sets to support four basic workloads:

- "minimal" for a small installation where the user int

packages: Add an "optional" set

This is everything in "base" but without compilers. This means we
have sets to support four basic workloads:

- "minimal" for a small installation where the user intends to add
other packages by hand.

- "optional" for a complete installation on a production system which
does not need to compile software.

- "devel", which can be added to either minimal or optional when
compilers are required.

- "base" for a complete installation, including compilers, for users
who don't want to interact with pkgbase and just want the complete
system installed like it was before.

This is probably the last set want to add; any further metapackages
would be better treated as "task" packages intended to target one
specific workload.

MFC after: 3 days
Reviewed by: cperciva, bapt
Differential Revision: https://reviews.freebsd.org/D52777

show more ...


# 4422265c 24-Sep-2025 Lexi Winter <ivy@FreeBSD.org>

bsdinstall: Install pkg if it's available

Now that the pkg package is shipped on the pkgbase release media,
install it by default for a pkgbase install if it's present.

If it's not available (e.g.,

bsdinstall: Install pkg if it's available

Now that the pkg package is shipped on the pkgbase release media,
install it by default for a pkgbase install if it's present.

If it's not available (e.g., when running bsdinstall from a repository
built from src alone, without ports), skip it and assume the user will
install it another way.

MFC after: 1 day
Reviewed by: ifreund_freebsdfoundation.org, cperciva
Differential Revision: https://reviews.freebsd.org/D52639

show more ...


# 3f5385be 23-Sep-2025 Lexi Winter <ivy@FreeBSD.org>

release: Improve kernel package handling

Although support for PowerPC kernels (GENERIC64 and GENERIC64LE) was
added to pkgbase-stage.lua, the equivalent support was missing from
bsdinstall, so the i

release: Improve kernel package handling

Although support for PowerPC kernels (GENERIC64 and GENERIC64LE) was
added to pkgbase-stage.lua, the equivalent support was missing from
bsdinstall, so the installer would fail at runtime since it wouldn't
find a kernel package.

Improve the pkgbase-stage logic to have a specific list of kernels
we want to support (which avoids breaking if multiple kernels are
available), and use the same logic in both bsdinstall and pkgbase-stage.

MFC after: 1 day
Reviewed by: cperciva
Differential Revision: https://reviews.freebsd.org/D52638

show more ...


# 561dc357 18-Sep-2025 Lexi Winter <ivy@FreeBSD.org>

bsdinstall: Use package sets for pkgbase install

Update the pkgbase component selection dialogue to take the components
list from the meta-package sets available on the install media, except
for "ke

bsdinstall: Use package sets for pkgbase install

Update the pkgbase component selection dialogue to take the components
list from the meta-package sets available on the install media, except
for "kernel" which is still handled magically.

Always install "minimal", and by default select "base", "kernel-dbg"
and any libcompat sets (e.g., lib32) if they're available.

Replace the various "dbg" options with a single "debug" component that
installs the debug symbols for all the components the user selected,
except for kernel since we handle that separately and it's common to
want kernel debugs symbols without userland debug symbols.

MFC after: 3 seconds
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D52558

show more ...


# 6fa24b29 25-Jul-2025 Isaac Freund <ifreund@freebsdfoundation.org>

release, bsdinstall: include FreeBSD-kernel-man package

This package has been newly split off during man page reorganization and
should be considered part of the "base" component rather than being
i

release, bsdinstall: include FreeBSD-kernel-man package

This package has been newly split off during man page reorganization and
should be considered part of the "base" component rather than being
ignored. Update pkgbase release and bsdinstall scripts for this change.

Reviewed by: ivy
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D51519

show more ...


# cc413e2c 01-Jul-2025 Isaac Freund <ifreund@freebsdfoundation.org>

bsdinstall: Always install FreeBSD-base.conf if using pkgbase

Currently bsdinstall does not install FreeBSD-base.conf when performing
an offline pkgbase installation. This commit fixes that.

PR: 2

bsdinstall: Always install FreeBSD-base.conf if using pkgbase

Currently bsdinstall does not install FreeBSD-base.conf when performing
an offline pkgbase installation. This commit fixes that.

PR: 287821
Reviewed by: emaste
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D51101

show more ...


# 0bfa8a45 09-May-2025 Isaac Freund <ifreund@freebsdfoundation.org>

bsdinstall: improve pkgbase target retry prompts

These now use bsddialog rather than prompting the user for input on the
console.

Reviewed by: emaste
Sponsored by: The FreeBSD Foundation
Differenti

bsdinstall: improve pkgbase target retry prompts

These now use bsddialog rather than prompting the user for input on the
console.

Reviewed by: emaste
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D50270

show more ...


# 3c3dd629 05-May-2025 Isaac Freund <ifreund@freebsdfoundation.org>

bsdinstall: add pkgbase component selection dialog

This matches the style of the component selection dialog for traditional
tarball-based installations. The only difference is that there is
currentl

bsdinstall: add pkgbase component selection dialog

This matches the style of the component selection dialog for traditional
tarball-based installations. The only difference is that there is
currently no ports component offered when using pkgbase.

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D50178

show more ...


# ee9cfd72 01-Apr-2025 Isaac Freund <ifreund@freebsdfoundation.org>

bsdinstall: add pkgbase target

Reviewed by: ziaee (manpages), kevans (lua), emaste
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D49822


# a96230e0 15-Nov-2025 Colin Percival <cperciva@FreeBSD.org>

bsdinstall: Enable FreeBSD-base repo when pkgbase

When performing a pkgbase install, create a configuration file in
/usr/local/etc/pkg/repos/FreeBSD.conf which enables the FreeBSD-base
repository.

bsdinstall: Enable FreeBSD-base repo when pkgbase

When performing a pkgbase install, create a configuration file in
/usr/local/etc/pkg/repos/FreeBSD.conf which enables the FreeBSD-base
repository. (This repository is defined in /etc/pkg/FreeBSD.conf as
being disabled by default.)

Reported by: Mark Millard
Reviewed by: markj
MFC after: immediately (needed for 15.0-RC1)
Differential Revision: https://reviews.freebsd.org/D53777

show more ...


# bdfc223c 15-Nov-2025 Colin Percival <cperciva@FreeBSD.org>

bsdinstall: Don't install FreeBSD-base.conf

When installing e.g. 15.0-RC1, we want to get files from the 15.0-RC1
pkgbase repository; but running 'pkg upgrade' after installation should
get the late

bsdinstall: Don't install FreeBSD-base.conf

When installing e.g. 15.0-RC1, we want to get files from the 15.0-RC1
pkgbase repository; but running 'pkg upgrade' after installation should
get the latest bits build from releng/15.0.

With hat: re
MFC after: 8 hours (needed in 15.0-RC1)

show more ...


# 6b0909f9 14-Nov-2025 Colin Percival <cperciva@FreeBSD.org>

bsdinstall: Copy in all keys

The keys used for pkgbase signing are going to be placed in
/usr/share/keys/pkgbase-N where N is the FreeBSD major version
number; as such it's not sufficient to copy /u

bsdinstall: Copy in all keys

The keys used for pkgbase signing are going to be placed in
/usr/share/keys/pkgbase-N where N is the FreeBSD major version
number; as such it's not sufficient to copy /usr/share/keys/pkg
into the install chroot, but instead we need /usr/share/keys/*.

With hat: re
MFC after: 8 hours (needed in 15.0-RC1)
Differential Revision: https://reviews.freebsd.org/D53753

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 ...


# ed671620 02-Oct-2025 Lexi Winter <ivy@FreeBSD.org>

bsdinstall/pkgbase: Restore the kernel-dbg component

Commit 561dc357c2f5 changed the way we handle components in the prompt,
and accidentally resulted in the kernel-dbg component not being listed
si

bsdinstall/pkgbase: Restore the kernel-dbg component

Commit 561dc357c2f5 changed the way we handle components in the prompt,
and accidentally resulted in the kernel-dbg component not being listed
since we now hide all components ending in "-dbg".

Add an exception for kernel-dbg to bring it back.

Fixes: 561dc357c2f5 ("bsdinstall: Use package sets for pkgbase install")
MFC after: 3 seconds
Reviewed by: emaste
Sponsored by: https://www.patreon.com/bsdivy
Differential Revision: https://reviews.freebsd.org/D52826

show more ...


# eaecc955 29-Sep-2025 Lexi Winter <ivy@FreeBSD.org>

packages: Add an "optional" set

This is everything in "base" but without compilers. This means we
have sets to support four basic workloads:

- "minimal" for a small installation where the user int

packages: Add an "optional" set

This is everything in "base" but without compilers. This means we
have sets to support four basic workloads:

- "minimal" for a small installation where the user intends to add
other packages by hand.

- "optional" for a complete installation on a production system which
does not need to compile software.

- "devel", which can be added to either minimal or optional when
compilers are required.

- "base" for a complete installation, including compilers, for users
who don't want to interact with pkgbase and just want the complete
system installed like it was before.

This is probably the last set want to add; any further metapackages
would be better treated as "task" packages intended to target one
specific workload.

MFC after: 3 days
Reviewed by: cperciva, bapt
Differential Revision: https://reviews.freebsd.org/D52777

show more ...


# 4422265c 24-Sep-2025 Lexi Winter <ivy@FreeBSD.org>

bsdinstall: Install pkg if it's available

Now that the pkg package is shipped on the pkgbase release media,
install it by default for a pkgbase install if it's present.

If it's not available (e.g.,

bsdinstall: Install pkg if it's available

Now that the pkg package is shipped on the pkgbase release media,
install it by default for a pkgbase install if it's present.

If it's not available (e.g., when running bsdinstall from a repository
built from src alone, without ports), skip it and assume the user will
install it another way.

MFC after: 1 day
Reviewed by: ifreund_freebsdfoundation.org, cperciva
Differential Revision: https://reviews.freebsd.org/D52639

show more ...


# 3f5385be 23-Sep-2025 Lexi Winter <ivy@FreeBSD.org>

release: Improve kernel package handling

Although support for PowerPC kernels (GENERIC64 and GENERIC64LE) was
added to pkgbase-stage.lua, the equivalent support was missing from
bsdinstall, so the i

release: Improve kernel package handling

Although support for PowerPC kernels (GENERIC64 and GENERIC64LE) was
added to pkgbase-stage.lua, the equivalent support was missing from
bsdinstall, so the installer would fail at runtime since it wouldn't
find a kernel package.

Improve the pkgbase-stage logic to have a specific list of kernels
we want to support (which avoids breaking if multiple kernels are
available), and use the same logic in both bsdinstall and pkgbase-stage.

MFC after: 1 day
Reviewed by: cperciva
Differential Revision: https://reviews.freebsd.org/D52638

show more ...


# 561dc357 18-Sep-2025 Lexi Winter <ivy@FreeBSD.org>

bsdinstall: Use package sets for pkgbase install

Update the pkgbase component selection dialogue to take the components
list from the meta-package sets available on the install media, except
for "ke

bsdinstall: Use package sets for pkgbase install

Update the pkgbase component selection dialogue to take the components
list from the meta-package sets available on the install media, except
for "kernel" which is still handled magically.

Always install "minimal", and by default select "base", "kernel-dbg"
and any libcompat sets (e.g., lib32) if they're available.

Replace the various "dbg" options with a single "debug" component that
installs the debug symbols for all the components the user selected,
except for kernel since we handle that separately and it's common to
want kernel debugs symbols without userland debug symbols.

MFC after: 3 seconds
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D52558

show more ...


# 6fa24b29 25-Jul-2025 Isaac Freund <ifreund@freebsdfoundation.org>

release, bsdinstall: include FreeBSD-kernel-man package

This package has been newly split off during man page reorganization and
should be considered part of the "base" component rather than being
i

release, bsdinstall: include FreeBSD-kernel-man package

This package has been newly split off during man page reorganization and
should be considered part of the "base" component rather than being
ignored. Update pkgbase release and bsdinstall scripts for this change.

Reviewed by: ivy
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D51519

show more ...


# cc413e2c 01-Jul-2025 Isaac Freund <ifreund@freebsdfoundation.org>

bsdinstall: Always install FreeBSD-base.conf if using pkgbase

Currently bsdinstall does not install FreeBSD-base.conf when performing
an offline pkgbase installation. This commit fixes that.

PR: 2

bsdinstall: Always install FreeBSD-base.conf if using pkgbase

Currently bsdinstall does not install FreeBSD-base.conf when performing
an offline pkgbase installation. This commit fixes that.

PR: 287821
Reviewed by: emaste
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D51101

show more ...


12