Date: Mon, 22 Sep 2025 23:23:55 +0100 From: Lexi Winter <ivy@freebsd.org> To: Shawn Webb <shawn.webb@hardenedbsd.org> Cc: "freebsd-current@freebsd.org" <freebsd-current@freebsd.org> Subject: Re: Plan for "distribution set" deprecation Message-ID: <aNHMexzI05E0AqNE@amaryllis.le-fay.org> In-Reply-To: <3ily2wedv7oue6qjjv2b47c37umnlqw363whvpohu6rrpz3hsg@a6g6mgjuy334> References: <fd63e8df-3209-4b83-9dc5-5df4ec690bbf@freebsd.org> <xtkzcgocu5uwhqqghp27k4wjqu3cl24y4n4jcwms43bj6udm5e@wmnwfbucjpod> <aNHD3RXadj1EMUlf@amaryllis.le-fay.org> <3ily2wedv7oue6qjjv2b47c37umnlqw363whvpohu6rrpz3hsg@a6g6mgjuy334>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
Shawn Webb wrote in <3ily2wedv7oue6qjjv2b47c37umnlqw363whvpohu6rrpz3hsg@a6g6mgjuy334>:
> > > I have confirmed that the pkgbase repo that gets built does indeed
> > > include the right kernel package. Hence why I'm puzzled why that lua
> > > assertion is being tripped.
> >
> > please also show the (names of) the kernel packages you have in your
> > release repository, i.e. the one in <objdir>/release/pkgbase-repo
> > which is generated during the release build.
>
> ==== BEGIN OUTPUT ====
> $ pkg repos
> LocalBase: {
> url : "file:///usr/obj/usr/src/amd64.amd64/release/pkgbase-repo/FreeBSD:16:amd64/latest",
> enabled : yes,
> priority : 0
> }
> $ pkg rquery -U -r LocalBase '%n' | grep HardenedBSD-kernel-hardenedbsd
> HardenedBSD-kernel-hardenedbsd
> HardenedBSD-kernel-hardenedbsd-dbg
> ==== END OUTPUT ====
>
> That `pkg rquery` command is effectively the same as what that lua
> script is executing, which is why I'm extra confused.
pkgbase-stage.lua expects the kernel package to be called "kernel-generic",
but yours is called "kernel-hardenedbsd", which would cause this error.
did you patch the script to change this? (if so, you'll also need to patch
bsdinstall the same way otherwise the install will fail at runtime.)
if you've modified pkgbase-stage.lua, a link to the version you're using
would be handy.
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaNHMdwAKCRD1nT63mIK/
YLQ+AQDznEmuooBjTO+KYdSN6lOHacsJx58w3tqGeBQji1iBPAD/eivkIz/Tc+nn
eDlfdn1Rxw6yCENlBfhmZZ+SI90Mjgc=
=PRxf
-----END PGP SIGNATURE-----
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aNHMexzI05E0AqNE>
