From nobody Fri Aug 1 07:07:15 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 4btcTT4TMhz63ZP3 for ; Fri, 01 Aug 2025 07:07:25 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from vogon.madpilot.net (vogon.madpilot.net [159.69.1.99]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4btcTT22hbz3qSn for ; Fri, 01 Aug 2025 07:07:25 +0000 (UTC) (envelope-from mad@madpilot.net) Authentication-Results: mx1.freebsd.org; none Received: from localhost (mail [IPv6:fd5c:5351:d272::3]) by vogon.madpilot.net (Postfix) with ESMTP id 4btcTL1BNfzLkqG; Fri, 01 Aug 2025 09:07:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=madpilot.net; h= content-transfer-encoding:content-type:content-type:in-reply-to :from:from:content-language:references:subject:subject:date:date :message-id:received; s=cyq4qetkgngm; t=1754032036; x= 1755846437; bh=aNeaL133AHEI5j8EyZdXmqVYFy/dL8E9OM7L2ODUe8k=; b=M qLkHaMB6G0v16zSTdRXOEJ0+LJUK8ypFU7SqRI7a2hs1Gj+ryFyfrNsfsgb7CvnV QltjUGj4MzazbRzsxqFrD8O68JU3+HZQfUox8UZwP/Q43mvdXDgNSmzZUWLHajVk z13EH9mFxRXLUJ7cn0qvHf3p72zUi3HIrB2FRwUwPZwsDqEf8upsMeD/iQWYkNd9 S0B2x1bflIH0Qm+J8AJDYVzdPF2HvPZh5zupfLAOLCwkVgxTR1Z/ww5OArdKF4bv 34+pPaKXT5VbQHxhBdLIwwbEBT6SyVaBs1RPSQeYKzjIVCxXQrqwTayPjYSD2upg +VXx4I2NKwlsXbHUiqlEQ== Received: from vogon.madpilot.net ([IPv6:fd5c:5351:d272::3]) by localhost (vogon.madpilot.net [IPv6:fd5c:5351:d272::3]) (amavis, port 10026) with ESMTP id Evwmrj1VS8r5; Fri, 1 Aug 2025 09:07:16 +0200 (CEST) Message-ID: <8d19c099-73ac-49e7-913f-d8c87d2446de@madpilot.net> Date: Fri, 1 Aug 2025 09:07:15 +0200 Subject: Re: PKGBASE Poudriere To: vermaden , freebsd-pkgbase@FreeBSD.org References: Content-Language: en-US From: Guido Falsi Autocrypt: addr=mad@madpilot.net; keydata= xsBNBE+G+l0BCADi/WBQ0aRJfnE7LBPsM0G3m/m3Yx7OPu4iYFvS84xawmRHtCNjWIntsxuX fptkmEo3Rsw816WUrek8dxoUAYdHd+EcpBcnnDzfDH5LW/TZ4gbrFezrHPdRp7wdxi23GN80 qPwHEwXuF0X4Wy5V0OO8B6VT/nA0ADYnBDhXS52HGIJ/GCUjgqJn+phDTdCFLvrSFdmgx4Wl c0W5Z1p5cmDF9l8L/hc959AeyNf7I9dXnjekGM9gVv7UDUYzCifR3U8T0fnfdMmS8NeI9NC+ wuREpRO4lKOkTnj9TtQJRiptlhcHQiAlG1cFqs7EQo57Tqq6cxD1FycZJLuC32bGbgalABEB AAHNHkd1aWRvIEZhbHNpIDxtYWRAbWFkcGlsb3QubmV0PsLAeQQTAQgAIwIbAwIeAQIXgAUL CQgHAwUVCgkICwQWAgMBBQJS79AgAhkBAAoJEBrmhg5Wy9KTc0kH/RO64ORBlTbTHaUaOj8F Je5O5NU2Pt9Cyt5ZWBRvxntr1zPTJGKRPS9ihlIfqT4ZvEngQGp57EUyFbCpI0UWasTerImM tt5WACnGmCzUTB39UXx8Oy4b1EgWeTJQ747e/F1mQLXTNa6ijRBE9fYlTb4gAkPN88/wVV9v 3PZozKLTg16ghBzHM/P7Lk8L7clPEZChX1FTa/6eSt3nvzfCuTMZbBPJF/ph+q1KyPqRgVfh tyhu5dvgMoPz/ni41IfeSrkJTD5RXzdyGR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Pdf5I9riUElzvHrqJ8Bx0t3Pujdoth+yNHpnBxrtO8LkQd rQ58P0SwcaIX33T2U9pG8bhu5YVR88FQ8OQ0cEsPBpDncg== In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4btcTT22hbz3qSn 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:24940, ipnet:159.69.0.0/16, country:DE] 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 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