Re: Custom Kernel PKGBASE Package
vermaden <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.pkgbase,gmane.os.freebsd.devel.hackers |
|---|---|
| Message-ID | <britniwbridergkvffyl@okpw> |
>> 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