Re: Building multiple kernels with "make release"

2021-07-28 Thread Glen Barber
On Wed, Jul 28, 2021 at 06:00:28PM -0600, Alan Somers wrote: > On Wed, Jul 28, 2021 at 5:52 PM Miroslav Lachman <000.f...@quip.cz> wrote: > > > On 28/07/2021 20:46, Juraj Lutter wrote: > > > > > > > > >> On 28 Jul 2021, at 20:37, Glen Barber wrote: > > >> > > >> On Wed, Jul 28, 2021 at 12:05:25PM

Re: Building multiple kernels with "make release"

2021-07-28 Thread Alan Somers
On Wed, Jul 28, 2021 at 5:52 PM Miroslav Lachman <000.f...@quip.cz> wrote: > On 28/07/2021 20:46, Juraj Lutter wrote: > > > > > >> On 28 Jul 2021, at 20:37, Glen Barber wrote: > >> > >> On Wed, Jul 28, 2021 at 12:05:25PM -0600, Alan Somers wrote: > >>> On Wed, Jul 28, 2021 at 11:57 AM Glen Barber

Re: Building multiple kernels with "make release"

2021-07-28 Thread Miroslav Lachman
On 28/07/2021 20:46, Juraj Lutter wrote: On 28 Jul 2021, at 20:37, Glen Barber wrote: On Wed, Jul 28, 2021 at 12:05:25PM -0600, Alan Somers wrote: On Wed, Jul 28, 2021 at 11:57 AM Glen Barber wrote: Just on a hunch, could you try with adding INSTALLKERNEL="${KERNEL}" to your release.conf?

Re: awk behaviour?

2021-07-28 Thread Ed Maste
On Wed, 28 Jul 2021 at 15:15, Michael Butler via freebsd-current wrote: > > What prompted the question was my (obviously poor) attempt to debug and > resolve this failure when attempting to build a release for i386 on an > amd64 .. This will be due to my 4e224e4be7c3. I'm not sure exactly what's

Re: awk behaviour?

2021-07-28 Thread Warner Losh
On Wed, Jul 28, 2021 at 1:12 PM Michael Butler wrote: > On 7/28/21 1:36 PM, Warner Losh wrote: > > On Wed, Jul 28, 2021 at 11:31 AM Michael Butler via freebsd-current < > > freebsd-current@freebsd.org> wrote: > > > >> I tripped over this while trying to build a local release .. > >> > >> imb@tosh

Re: awk behaviour?

2021-07-28 Thread Michael Butler via freebsd-current
On 7/28/21 1:36 PM, Warner Losh wrote: On Wed, Jul 28, 2021 at 11:31 AM Michael Butler via freebsd-current < freebsd-current@freebsd.org> wrote: I tripped over this while trying to build a local release .. imb@toshi:/home/imb> pkg --version | awk -F. '{print $$1 * 1 + $$2 * 100 + $$3}' 100

Re: Building multiple kernels with "make release"

2021-07-28 Thread Glen Barber
On Wed, Jul 28, 2021 at 08:46:19PM +0200, Juraj Lutter wrote: > > > > On 28 Jul 2021, at 20:37, Glen Barber wrote: > > > > On Wed, Jul 28, 2021 at 12:05:25PM -0600, Alan Somers wrote: > >> On Wed, Jul 28, 2021 at 11:57 AM Glen Barber wrote: > >>> Just on a hunch, could you try with adding INST

Re: Building multiple kernels with "make release"

2021-07-28 Thread Juraj Lutter
> On 28 Jul 2021, at 20:37, Glen Barber wrote: > > On Wed, Jul 28, 2021 at 12:05:25PM -0600, Alan Somers wrote: >> On Wed, Jul 28, 2021 at 11:57 AM Glen Barber wrote: >>> Just on a hunch, could you try with adding INSTALLKERNEL="${KERNEL}" to >>> your release.conf? >>> >>> I now seem to recal

Re: Building multiple kernels with "make release"

2021-07-28 Thread Glen Barber
On Wed, Jul 28, 2021 at 12:05:25PM -0600, Alan Somers wrote: > On Wed, Jul 28, 2021 at 11:57 AM Glen Barber wrote: > > Just on a hunch, could you try with adding INSTALLKERNEL="${KERNEL}" to > > your release.conf? > > > > I now seem to recall some weirdness with this, but the exact details > > elu

Re: Building multiple kernels with "make release"

2021-07-28 Thread Alan Somers
On Wed, Jul 28, 2021 at 11:57 AM Glen Barber wrote: > On Wed, Jul 28, 2021 at 05:32:03PM +, Glen Barber wrote: > > On Wed, Jul 28, 2021 at 11:30:44AM -0600, Alan Somers wrote: > > > On Wed, Jul 28, 2021 at 11:28 AM Glen Barber wrote: > > > > > > > On Wed, Jul 28, 2021 at 05:26:50PM +, Gl

Re: Building multiple kernels with "make release"

2021-07-28 Thread Glen Barber
On Wed, Jul 28, 2021 at 05:32:03PM +, Glen Barber wrote: > On Wed, Jul 28, 2021 at 11:30:44AM -0600, Alan Somers wrote: > > On Wed, Jul 28, 2021 at 11:28 AM Glen Barber wrote: > > > > > On Wed, Jul 28, 2021 at 05:26:50PM +, Glen Barber wrote: > > > > On Wed, Jul 28, 2021 at 11:11:48AM -06

Re: awk behaviour?

2021-07-28 Thread Michael Gmelin
On Wed, 28 Jul 2021 13:29:20 -0400 Michael Butler via freebsd-current wrote: > I tripped over this while trying to build a local release .. > > imb@toshi:/home/imb> pkg --version | awk -F. '{print $$1 * 1 + > $$2 * 100 + $$3}' > 10001 > > imb@toshi:/home/imb> pkg --version > 1.17.1 >

Re: awk behaviour?

2021-07-28 Thread Warner Losh
On Wed, Jul 28, 2021 at 11:31 AM Michael Butler via freebsd-current < freebsd-current@freebsd.org> wrote: > I tripped over this while trying to build a local release .. > > imb@toshi:/home/imb> pkg --version | awk -F. '{print $$1 * 1 + $$2 * > 100 + $$3}' > 10001 > > imb@toshi:/home/imb> pkg -

Re: awk behaviour?

2021-07-28 Thread Michael Butler via freebsd-current
NVM .. it's the escaping of '$' .. On 7/28/21 1:29 PM, Michael Butler via freebsd-current wrote: I tripped over this while trying to build a local release .. imb@toshi:/home/imb> pkg --version | awk -F. '{print $$1 * 1 + $$2 * 100 + $$3}' 10001 imb@toshi:/home/imb> pkg --version 1.17.1

Re: Building multiple kernels with "make release"

2021-07-28 Thread Glen Barber
On Wed, Jul 28, 2021 at 11:30:44AM -0600, Alan Somers wrote: > On Wed, Jul 28, 2021 at 11:28 AM Glen Barber wrote: > > > On Wed, Jul 28, 2021 at 05:26:50PM +, Glen Barber wrote: > > > On Wed, Jul 28, 2021 at 11:11:48AM -0600, Alan Somers wrote: > > > > Is it possible to build multiple differe

Re: Building multiple kernels with "make release"

2021-07-28 Thread Alan Somers
On Wed, Jul 28, 2021 at 11:28 AM Glen Barber wrote: > On Wed, Jul 28, 2021 at 05:26:50PM +, Glen Barber wrote: > > On Wed, Jul 28, 2021 at 11:11:48AM -0600, Alan Somers wrote: > > > Is it possible to build multiple different kernels and include them > all in > > > a release image? release.co

awk behaviour?

2021-07-28 Thread Michael Butler via freebsd-current
I tripped over this while trying to build a local release .. imb@toshi:/home/imb> pkg --version | awk -F. '{print $$1 * 1 + $$2 * 100 + $$3}' 10001 imb@toshi:/home/imb> pkg --version 1.17.1 Is this expected? imb

Re: Building multiple kernels with "make release"

2021-07-28 Thread Glen Barber
On Wed, Jul 28, 2021 at 05:26:50PM +, Glen Barber wrote: > On Wed, Jul 28, 2021 at 11:11:48AM -0600, Alan Somers wrote: > > Is it possible to build multiple different kernels and include them all in > > a release image? release.conf says so. But from experiment, what I see is > > that: > > >

Re: Building multiple kernels with "make release"

2021-07-28 Thread Glen Barber
On Wed, Jul 28, 2021 at 11:11:48AM -0600, Alan Somers wrote: > Is it possible to build multiple different kernels and include them all in > a release image? release.conf says so. But from experiment, what I see is > that: > > * release.sh does pass both kernels in the KERNCONF variable to "make

Building multiple kernels with "make release"

2021-07-28 Thread Alan Somers
Is it possible to build multiple different kernels and include them all in a release image? release.conf says so. But from experiment, what I see is that: * release.sh does pass both kernels in the KERNCONF variable to "make buildkernel" * "make buildkernel" dutifully builds both * BUT, "make in