Re: Custom Kernel PKGBASE Package

Lexi Winter <[email protected]>
Newsgroups gmane.os.freebsd.devel.hackers,gmane.os.freebsd.devel.pkgbase
Message-ID <[email protected]>
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.
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCabWjQwAKCRD1nT63mIK/
YJY/AQD4xN9d9McKbVZW3yNMHq5LvyCOxG19jYGgUVwjFGprgAD+I6WmUqpbFwFV
FSnxqL7A2A30HLTc+T/BZmsmN+j5AQc=
=2xLr
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.