vermaden wrote in <vobtzfbedqwapbqyabam@dgol>:
> its not hard to create a 'generic' PKGBASE set:
> # cd /usr/src
> # make buildworld buildkernel
> # make packages

you almost certainly want to be using make update-packages here
(see build(7)) to avoid changing the version number of packages
whose contents haven't changed.

> My question is - how to build kernel PKGBASE package with CUSTOM
> kernel config - to get something like FreeBSD-kernel-CUSTOM-15.0
> alongside FreeBSD-kernel-generic-15.0 package so they will not collide
> on 'pkg install' command?

% make KERNCONF='GENERIC CUSTOM' buildkernel update-packages

the first kernel in $KERNCONF will be installed in /boot/kernel,
the rest will be installed in /boot/kernel.NAME.

Attachment: signature.asc
Description: PGP signature

Reply via email to