vmimage.subr: Install pkg on pkgbase images

When building VM and Cloud images with a packaged base system, install
the pkg package; this makes it possible for the base system to be
updated without installing pkg from the FreeBSD-ports repository.

Sponsored by:	Amazon
This commit is contained in:
Colin Percival
2026-01-24 12:12:14 -08:00
parent ec2b3d786b
commit f0ecf357aa
+3
View File
@@ -84,6 +84,9 @@ vm_base_packages_list() {
echo FreeBSD-set-lib32-dbg
esac
echo FreeBSD-set-tests
# Also install pkg, since systems with a packaged base system should
# have the tools to upgrade themselves.
echo pkg
}
vm_extra_filter_base_packages() {