Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jan 2026 23:15:53 +0000
From:      Colin Percival <cperciva@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: c8d759230a0e - stable/15 - vmimage.subr: Install pkg on pkgbase images
Message-ID:  <69794729.424e3.3cb7bfa1@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/15 has been updated by cperciva:

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

commit c8d759230a0e4449615b9185f2d86969f3792ba2
Author:     Colin Percival <cperciva@FreeBSD.org>
AuthorDate: 2026-01-24 20:12:14 +0000
Commit:     Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2026-01-27 23:15:40 +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
    
    (cherry picked from commit f0ecf357aad984ac3b175f41027baac06d886f16)
---
 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() {


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69794729.424e3.3cb7bfa1>