Current-Users archive

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

Re: updating kernel AND modules



> 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 do upgrades using sysupgrade. „sysupgrade auto“ does the right thing w.r.t. modules. Otherwise, if you want to reboot with the new kernel, you should run „sysupgrade modules“ before.

Building from source, I do 

./build.sh kernel=GENERIC modules
# install kernel
sudo ./build.sh installmodules=/

like the others in the thread suggested.

— 
Benny


Home | Main Index | Thread Index | Old Index