Re: Custom Kernel PKGBASE Package
- Reply: vermaden : "Re: Custom Kernel PKGBASE Package"
- In reply to: vermaden : "Custom Kernel PKGBASE Package"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 14 Mar 2026 18:04:54 UTC
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.