Re: Making a release of stable/12 with multiple kernels

2020-01-11 Thread Trond Endrestøl
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.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Making a release of stable/12 with multiple kernels

2020-01-11 Thread Trond Endrestøl
Hi,

I'm trying to make a release of stable/12 and I was hoping to include 
all my custom kernels in the generated disc1.iso and memstick.img.

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

The latter command only picks up the first kernel. All kernels are 
present and accounted for.

The list is based on KERNCONF from /etc/make.conf. PE1950 is the 
kernel for my builder and thus listed first.

Should I be using release.sh instead? I prefer using the existing 
source tree, and skip the doc and ports trees.

-- 
Trond.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"