Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: updating kernel AND modules




> On Nov 4, 2023, at 17:30, Thomas Klausner <wiz%netbsd.org@localhost> wrote:
> 
> Hi!
> 
> I'm used to just running fully-compiled kernel without kernel modules
> to speak of, so I just to 'build.sh kernel=GENERIC' and copy the
> resulting kernel to /netbsd manually.
> 
> However, e.g. dtrace is a kernel module, so if I'm interested in
> bugfixes for that, the kernel module needs to be updated as well.
> 
> The NetBSD guide does not talk about kernel modules at all in the
> updating section
> (https://www.netbsd.org/docs/guide/en/chap-kernel.html,
> http://netbsd.org/docs/guide/en/chap-updating.html)
> 
> What is the current best-practice method for that?

I usually:

# ./build.sh <switches> modules
[things happen]

Then:
# ./build.sh installmodules=/

<switches> above might be (eg): -j4 -u for example.

-bch


> 
> Thanks,
> Thomas


Home | Main Index | Thread Index | Old Index