Re: Custom Kernel PKGBASE Package
- Reply: Lexi Winter : "Re: Custom Kernel PKGBASE Package"
- In reply to: Lexi Winter : "Re: Custom Kernel PKGBASE Package"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 14 Mar 2026 18:24:12 UTC
>> vermaden wrote in : >> 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. Even for the first time I should run 'make update-packages' instead 'make packages'? >> 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. Beautiful - this is what I needed - thank You :) Regards, vermaden