On Sat, Mar 21, 2020 at 08:04:35PM +0000, Mikolaj Kucharski wrote:
> On Thu, Mar 19, 2020 at 08:08:10AM +0100, Antoine Jacoutot wrote:
> > > - How do you handle kernel modifications via config(8) with kernel
> > >   relinking in a more automated way?
> > 
> > $ cat /etc/rc.shutdown                                     
> > printf 'disable ulpt\nq\n' | config -ef /bsd
> > sha256 /bsd >/var/db/kernel.SHA256
> 
> Neat, simple and straightforward. I like it, thanks Antoine.

It has one disadvantage. It doesn't integrate well with sysupgrade(8)
and need one additional reboot, to get desired kernel configuration. For
me it's easy to forget this one additional reboot.

-- 
Regards,
 Mikolaj

Reply via email to