The branch main has been updated by cperciva:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=f0ecf357aad984ac3b175f41027baac06d886f16

commit f0ecf357aad984ac3b175f41027baac06d886f16
Author:     Colin Percival <[email protected]>
AuthorDate: 2026-01-24 20:12:14 +0000
Commit:     Colin Percival <[email protected]>
CommitDate: 2026-01-24 20:18:35 +0000

    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
---
 release/tools/vmimage.subr | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/release/tools/vmimage.subr b/release/tools/vmimage.subr
index 0ca9ba267ce0..f7fc9906c049 100644
--- a/release/tools/vmimage.subr
+++ b/release/tools/vmimage.subr
@@ -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() {

Reply via email to