From nobody Fri Aug 1 22:03:30 2025 X-Original-To: freebsd-pkgbase@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4bv0Mc720Cz63B2g for ; Fri, 01 Aug 2025 22:03:40 +0000 (UTC) (envelope-from vermaden@interia.pl) Received: from smtpo69.interia.pl (smtpo69.interia.pl [217.74.67.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4bv0Mc36rCz3MCs for ; Fri, 01 Aug 2025 22:03:40 +0000 (UTC) (envelope-from vermaden@interia.pl) Authentication-Results: mx1.freebsd.org; none Date: Sat, 02 Aug 2025 00:03:30 +0200 From: vermaden Subject: Re: PKGBASE Poudriere To: Guido Falsi , "freebsd-pkgbase@FreeBSD.org" X-Mailer: interia.pl/pf09 In-Reply-To: <8d19c099-73ac-49e7-913f-d8c87d2446de@madpilot.net> References: <8d19c099-73ac-49e7-913f-d8c87d2446de@madpilot.net> X-Originating-IP: 45.148.42.1 Message-Id: List-Id: Packaging the FreeBSD base system List-Archive: https://lists.freebsd.org/archives/freebsd-pkgbase List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkgbase@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1754085811; bh=AkCXfHdLy8QydUIEFIfJGbKY7E8ECbEXQn0uIPEhphw=; h=Date:From:Subject:To:Message-Id:MIME-Version:Content-Type; b=n8MaFe7Os0dcdQKjdChmFXueMMsRPrf5vGEl0vcQMosh1eTUyOKt/7RqMPgTie1WT 6lyIQ5zIddnOI2b/dYRfgx4Xd+eR3lV1rss9Rwh5PEjH+Nv5c+xld93QWRywngZE47 4/oCzj9nYAQWObSrlvg6eJPUPGBEFQCNBq7ml5dU= X-Rspamd-Queue-Id: 4bv0Mc36rCz3MCs X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16138, ipnet:217.74.64.0/22, country:PL] Hi and thank You for reply. How do you update suck PKGBASE set? It does not use 'poudriere bulk' command at all to create and update that PKGBASE packages set? Regards, vermaden Temat: Re: PKGBASE Poudriere Data: 2025-08-01 9:07 Nadawca: "Guido Falsi" <mad@madpilot.net> Adresat: "vermaden" <vermaden@interia.pl>; freebsd-pkgbase@FreeBSD.org; > >> On 8/1/25 01:33, vermaden wrote: >> Hi. >> >> Is there some more or less official or not way to use >> Poudriere to build PKGBASE packages? >> >> There are lots of guide on the net ... but nothing >> really well documented and explained. >> >> Thanks, >> vermaden >> > > Short version: > > poudriere jail -c -j 15amd64 -a amd64 -b -B -m src=/usr/src -K GENERIC > > to build using sources present in /usr/src > > the -K is required, and multiple ones can be specified, > you will get multiple kernel packages. > > You should find package sets in > "/poudriere/data/images/15amd64-repo/FreeBSD:15:amd64/" > (path depends on the OS version you compiled obviously) > > This will also leave you a poudriere jail built from > the sources indicated. > > I use sources from /usr/src so I can have full control of what I get > with git, I sometimes use local patches from a personal "forked" repo. > > If you want to build fetching sources directly (requires > git installed), for example for 14.3-STABLE: > > poudriere -jail -c -j 143amd66rr -a amd64 -b -m git+https -v stable/14 > > > Which will perform a shallow clone, default configuration > should use the official project mirrors. > > Looks like in this case a kernel config is not explicitly required, > should build GENERIC by defaut, if you want to use a different kernel > config you should pass it with -K like the above example. > > > I hope this helps, anyway your best resource about this is the > poudriere-jail(8) man page. > > -- > Guido Falsi