The branch main has been updated by imp:

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

commit 638fb31a75f69d8ed243a93eea0aa4a7510916f9
Author:     zxbv3 <[email protected]>
AuthorDate: 2026-01-27 16:24:14 +0000
Commit:     Warner Losh <[email protected]>
CommitDate: 2026-02-01 21:51:10 +0000

    pkgbase-stage.lua: Add *-jail metapackages to the offline repo
    
    Having *-jail metapackage variants on the installation media allows 
convenient offline jail creation.
    
    Reviewed by: imp
    Pull Request: https://github.com/freebsd/freebsd-src/pull/1991
---
 release/scripts/pkgbase-stage.lua | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/release/scripts/pkgbase-stage.lua 
b/release/scripts/pkgbase-stage.lua
index efc4f8af0cbf..80d215d0e82f 100755
--- a/release/scripts/pkgbase-stage.lua
+++ b/release/scripts/pkgbase-stage.lua
@@ -46,12 +46,14 @@ local function select_packages(pkg, media, all_libcompats)
        end
        assert(components["kernel"])
        assert(components["base"])
+       assert(components["base-jail"])
        assert(components["pkg"])
 
        local selected = {}
        if media == "disc" then
                table.insert(selected, components["pkg"])
                table.insert(selected, components["base"])
+               table.insert(selected, components["base-jail"])
                table.insert(selected, components["kernel"])
                table.insert(selected, components["kernel-dbg"])
                table.insert(selected, components["src"])
@@ -63,6 +65,7 @@ local function select_packages(pkg, media, all_libcompats)
                assert(media == "dvd")
                table.insert(selected, components["pkg"])
                table.insert(selected, components["base"])
+               table.insert(selected, components["base-jail"])
                table.insert(selected, components["base-dbg"])
                table.insert(selected, components["kernel"])
                table.insert(selected, components["kernel-dbg"])

Reply via email to