Re: How to build kmods packages?

From: Lukas Engelhardt <lukas.engelhardt_at_gmx.de>
Date: Mon, 11 Aug 2025 12:20:28 UTC
Hi again,
I successfully built base packets with poudriere using

poudriere jail -c -j 143amd64pkgbase -a amd64 -b -B -m src=/usr/src/ -K GENERIC

Like Guido Falsi recommended on this mailinglist (see 01.08.2025, 07:07:15 UTC).
If I compare the content of /usr/obj/usr/src/repo/FreeBSD:14:amd64/14.3p2 and /usr/local/poudriere/data/images/143amd64pkgbase-repo/FreeBSD:14:amd64/14.3p2 the only difference is that poudriere is missing the Files "FreeBSD-src-14.3p2.pkg" and "FreeBSD-src-sys-14.3p2.pkg".
I don't see anything, which seems related to Kernel modules.

Could you please specify on how to build the kmods packages?
Thanks

Lukas

Am 11. Aug. 2025, 13:51, um 13:51, "Dag-Erling Smørgrav" <des@freebsd.org> schrieb:
>vermaden <vermaden@interia.pl> writes:
>> Is it documented anywhere?
>
>I don't know if there's a howto, but it has decent manual pages.
>
>> Because this page does not have info how to build (and update)
>PKGBASE packages with Poudriere:
>> - https://github.com/freebsd/poudriere/wiki
>
>To build base packages using poudriere, either use the -B option when
>creating a new source-based jail, or if you already have a source-based
>jail, `echo 1 > pkgbase` in
>/usr/local/etc/poudriere.d/jails/$jailname/,
>then update the jail.
>
>DES
>--
>Dag-Erling Smørgrav - des@FreeBSD.org