Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Oct 2025 08:53:45 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        Lexi Winter <ivy@freebsd.org>, Baptiste Daroussin <bapt@FreeBSD.org>, FreeBSD-pkgbase@freebsd.org
Cc:        Bryan Drewery <bdrewery@FreeBSD.org>
Subject:   Re: FYI: The current status of what pkgbase podriere jail creations/updates end up installing that might not be intended
Message-ID:  <37124ECA-DE0A-4725-9D07-C062B76C4201@yahoo.com>
In-Reply-To: <D2E6A696-D6AA-4027-8E67-F79460B9FAE3@yahoo.com>

index | next in thread | previous in thread | raw e-mail

On Sep 28, 2025, at 17:25, Mark Millard <marklmi@yahoo.com> wrote:

> Example is things that poudriere jail worlds end up with
> that might not be intended for FreeBSD:15:amd64 jails
> for poudriere(d-evel) use:
> 
> FreeBSD-kernel-generic-15.0.a4.20250926201937 FreeBSD GENERIC Kernel 
> FreeBSD-kernel-generic-mmccam-15.0.a4.20250926201937 FreeBSD generic-mmccam Kernel 
> FreeBSD-kernel-man-15.0.a3.20250923194747 Kernel manual pages
> FreeBSD-kernel-minimal-15.0.a4.20250926201937 FreeBSD minimal Kernel 
> 
> Lots of *-lib32-* that I'll not list here.

I expect that I should not have included the above
reference to lib32 for this issue.

> FreeBSD-set-base-15.0.a3.20250925010748 Base system (metapackage)
> FreeBSD-set-devel-15.0.a3.20250925010748 Development tools (metapackage)
> FreeBSD-set-kernels-15.0.a2.20250919040617 Base system kernels (metapackage)
> FreeBSD-set-minimal-15.0.a3.20250925010748 Basic multi-user system (metapackage)
> FreeBSD-set-minimal-jail-15.0.a3.20250925010748 Basic multi-user jail system (metapackage)
> 
> [Also tested by deleting the jail and recreating it:
> not just by upgrading it.]

A note for Bryan D. (warning: too many "-"?):

Modern bsdinstall has:

     pkgbase [---jail]
              Fetch and install base system packages to BSDINSTALL_CHROOT.
              Packages are fetched according to repository configuration in
              BSDINSTALL_PKG_REPOS_DIR if set, or pkg.freebsd.org otherwise.
              If the ---jail option is passed, no kernel is installed, and the
              “jail” variant of each package

May be poudriere(-devel) could use that to advantage?

Lexi, Bapt, and Bryan:

QUOTE
Modern bsdinstall has:

     pkgbase [---jail]
END QUOTE

My environments are showing the triple "-"
in the "man bsdinstall" output instead of
showing --jail for some reason.

The /usr/src/usr.sbin/bsdinstall/scripts/jail
script has just "--", such as in:

QUOTE
if [ "$PKGBASE" == yes ]; then
        bsdinstall pkgbase --jail || error "Installation of base system packages failed"
else
        distbase
fi
END QUOTE

===
Mark Millard
marklmi at yahoo.com



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37124ECA-DE0A-4725-9D07-C062B76C4201>