Making a release of stable/12 with multiple kernels

Trond Endrestøl trond.endrestol at ximalas.info
Sat Jan 11 13:32:32 UTC 2020


On Sat, 11 Jan 2020 12:51+0100, Trond Endrestøl wrote:

> Currently, I'm running:
> 
> /usr/bin/make -C /usr/src -D NO_CLEAN -j 8 buildworld buildkernel
> /usr/bin/make -C /usr/src/release KERNEL="PE1950 DL360G5 GENERIC PER200 PER320 XENGUEST ZFS" MAKE_CONF=/etc/make.conf NODOC=1 NOPORTS=1 NOSRC=1 SRC_CONF=/etc/src.conf release

It turns out specifying KERNEL, MAKE_CONF, and SRC_CONF belongs to 
release.sh. My bad.

I was missing was -D NO_INSTALLEXTRAKERNELS, just what we also need to 
specify when running make packages.

I.e.:

/usr/bin/make -C /usr/src/release -D NO_INSTALLEXTRAKERNELS NODOC=1 NOPORTS=1 NOSRC=1 release

Maybe GENERIC should be at the head of KERNCONF when making a release. 
Some .CURDIR magic in /etc/make.conf might help with that.

I'm sorry for the noise.

-- 
Trond.


More information about the freebsd-stable mailing list