Date: Wed, 19 Nov 2025 08:31:13 -0800 From: Freddie Cash <fjwcash@gmail.com> To: Michael Gmelin <grembo@freebsd.org> Cc: void <void@f-m.fm>, freebsd-current@freebsd.org Subject: Re: changing from pkgbase to regularbase Message-ID: <CAOjFWZ59NL1hTFRRFetjZysB%2B0kuuogbviogLnaLMY4W9sRjjg@mail.gmail.com> In-Reply-To: <20251119172520.4af73dd0.grembo@freebsd.org> References: <aR3Rc_5llfvlEjIo@int21h> <VrmptGZxMFEcwVWDS1PZEgAjvMcOHt9Dl36XouXw-Ej0sUcFAH60X8D82lPWCYRyT_hXgRRBFhnJYu5XYeByB_g7559WZAvdZ55eQ1WLRPM=@proton.me> <aR3cF9KIkNVXtdWS@int21h> <tL775Yox0zP9VizdRsU5CjYEaQEEOHjWW5DlEz6mTaPJEI1xr6T7YeuWiwSRpA7sr3tIkvWhTlIKXUEvhbI4rkc2mpfzZ5KE5QTUVCR-5Xc=@proton.me> <aR3s4-1zEdo0QgIA@int21h> <20251119172520.4af73dd0.grembo@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Wed, Nov 19, 2025 at 8:25 AM Michael Gmelin <grembo@freebsd.org> wrote: > On Wed, 19 Nov 2025 16:14:27 +0000 > void <void@f-m.fm> wrote: > > > On Wed, Nov 19, 2025 at 03:14:28PM +0000, Minsoo Choo wrote: > > > > >Thanks for your effort! > > > > > >Since DESTDIR has been around for some time, I think the related > > >logic was accidentally removed while adopting pkgbase. This won't > > >take too much effort (just set DESTDIR to / if it is not specified), > > >and I don't need other information for now. > > > > I think I've found the reason for this > > in https://reviews.freebsd.org/D52879 which I didn't see before. > > > > There should be IMO a setting or a sysctl or something like > > pkgbase.enabled=0 though (my own perspective as a user) > > What is the procedure to run a custom kernel with pkgbase? In the > last couple of years we needed stability patches (pf, zfs, etc.) on > almost every second release (at least temporarily, until an errata was > created). > > Would we need to run our own pkgbase server in this case or is there > another (non-hacky) way? > There's a make target for building packages for installation via pkg using the sources under /usr/src. I don't recall what it is offhand, but it should be documented in /usr/src/<something> Then you just install the new package for your custom kernel. -- Freddie Cash fjwcash@gmail.com [-- Attachment #2 --] <div dir="ltr"><div dir="ltr">On Wed, Nov 19, 2025 at 8:25 AM Michael Gmelin <<a href="mailto:grembo@freebsd.org">grembo@freebsd.org</a>> wrote:</div><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, 19 Nov 2025 16:14:27 +0000<br> void <<a href="mailto:void@f-m.fm" target="_blank">void@f-m.fm</a>> wrote:<br> <br> > On Wed, Nov 19, 2025 at 03:14:28PM +0000, Minsoo Choo wrote:<br> > <br> > >Thanks for your effort!<br> > ><br> > >Since DESTDIR has been around for some time, I think the related<br> > >logic was accidentally removed while adopting pkgbase. This won't<br> > >take too much effort (just set DESTDIR to / if it is not specified),<br> > >and I don't need other information for now. <br> > <br> > I think I've found the reason for this<br> > in <a href="https://reviews.freebsd.org/D52879" rel="noreferrer" target="_blank">https://reviews.freebsd.org/D52879</a> which I didn't see before.<br> > <br> > There should be IMO a setting or a sysctl or something like <br> > pkgbase.enabled=0 though (my own perspective as a user)<br> <br> What is the procedure to run a custom kernel with pkgbase? In the<br> last couple of years we needed stability patches (pf, zfs, etc.) on<br> almost every second release (at least temporarily, until an errata was<br> created).<br> <br> Would we need to run our own pkgbase server in this case or is there<br> another (non-hacky) way?<br></blockquote><div><br></div><div>There's a make target for building packages for installation via pkg using the sources under /usr/src. I don't recall what it is offhand, but it should be documented in /usr/src/<something></div><div><br></div><div>Then you just install the new package for your custom kernel. </div></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Freddie Cash<br><a href="mailto:fjwcash@gmail.com" target="_blank">fjwcash@gmail.com</a></div></div>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOjFWZ59NL1hTFRRFetjZysB%2B0kuuogbviogLnaLMY4W9sRjjg>
