Date: Wed, 11 Mar 2026 15:58:34 +0000 From: Minsoo Choo <minsoochoo0122@proton.me> To: =?utf-8?B?0JzQuNC60L7Qu9CwINCc0LjQutC+0LvQsA==?= <nikolaytihonov2022@gmail.com> Cc: freebsd-pkgbase@freebsd.org Subject: Re: Patched kernel workflow Message-ID: <np_wdp9FBZIgEIH5dobVkDNWgXgUQbJqkIsrngZPtCFq1bYBX64ey4FADlnzw7FyeyhkqVDx4edA1dmdYF8s-xKoSKJ1l4Qj3oTdeDlbzj4=@proton.me> In-Reply-To: <CADzCCsNCo1VcP5NRk00ZZrXVogG1zjBN2KmMJT5FAPfr5qewuA@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
On Wednesday, March 11th, 2026 at 11:55 AM, Микола Микола <nikolaytihonov2022@gmail.com> wrote:
> Hi
>
> I am the user of FreeBSD 15-STABLE with pkgbase. I have found myself recently in quick need to modify the sources of kernel in order to debug/fix issue I was having trouble with.
>
> I found myself in unpleasant situation where make installkernel complains about overriding pkgbase kernel and modules, noting that pkg will get out of sync.
>
> So I have few questions. First is what exactly happens when pkg gets out of sync? Second, what is streamlined workflow to build custom kernel and integrate it into system.
>
> I have heard that you should use Poudriere to build packages, and in my case it this would mean having custom src git tree and every time new package needs to be build - a merge should happen in that git tree.
>
> Currently Im viewing options to convert my 15-STABLE from pkgbase to source-based, i.e. building world and kernel from sources.
>
> I would like to hear your opinions on this matter.
>
> Sincerely,
> Mykola
make installkernel DESTDIR=/ INSTKERNNAME=<kernel name> will work without bothering pkgbase. Note that starting from FreeBSD 16 (or maybe 15 I don't know if the change was MFCed to stable/15) you don't need DESTDIR=/ part.
--Minsoo Choo
[-- Attachment #2 --]
<div style="font-family: Arial, sans-serif; font-size: 14px;" class="protonmail_signature_block"><div class="protonmail_signature_block-user">
</div>
<div class="protonmail_signature_block-proton protonmail_signature_block-empty">
</div>
</div>
<div style="font-family: Arial, sans-serif; font-size: 14px;">On Wednesday, March 11th, 2026 at 11:55 AM, Микола Микола <nikolaytihonov2022@gmail.com> wrote:<br><div class="protonmail_quote">
<blockquote class="protonmail_quote" type="cite">
<div dir="ltr">Hi<br><br>I am the user of FreeBSD 15-STABLE with pkgbase. I have found myself recently in quick need to modify the sources of kernel in order to debug/fix issue I was having trouble with.<br><br>I found myself in unpleasant situation where make installkernel complains about overriding pkgbase kernel and modules, noting that pkg will get out of sync.<br><br>So I have few questions. First is what exactly happens when pkg gets out of sync? Second, what is streamlined workflow to build custom kernel and integrate it into system.<br><br>I have heard that you should use Poudriere to build packages, and in my case it this would mean having custom src git tree and every time new package needs to be build - a merge should happen in that git tree.<br><br>Currently Im viewing options to convert my 15-STABLE from pkgbase to source-based, i.e. building world and kernel from sources.<br><br>I would like to hear your opinions on this matter.<br><br>Sincerely,<br>Mykola <br></div>
</blockquote><br>
</div><div class="protonmail_quote">make installkernel DESTDIR=/ INSTKERNNAME=<kernel name> will work without bothering pkgbase. Note that starting from FreeBSD 16 (or maybe 15 I don't know if the change was MFCed to stable/15) you don't need DESTDIR=/ part.</div><div class="protonmail_quote"><div style="scrollbar-width: thin; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid; background-color: rgb(255, 255, 255);"><br style="scrollbar-width:thin"></div><div style="scrollbar-width: thin; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid; background-color: rgb(255, 255, 255);"><div style="scrollbar-width:thin"><div style="scrollbar-width:thin"><span style="scrollbar-width:thin;line-height:normal">--</span></div><span style="scrollbar-width:thin"><span style="scrollbar-width:thin;line-height:normal">Minsoo Choo</span></span></div></div></div></div>
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?np_wdp9FBZIgEIH5dobVkDNWgXgUQbJqkIsrngZPtCFq1bYBX64ey4FADlnzw7FyeyhkqVDx4edA1dmdYF8s-xKoSKJ1l4Qj3oTdeDlbzj4=>
