From nobody Wed Jul 28 23:52:25 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D810412BF56E for ; Wed, 28 Jul 2021 23:52:36 +0000 (UTC) (envelope-from SRS0=oKtl=MU=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4GZr7S4vT8z3vWQ; Wed, 28 Jul 2021 23:52:36 +0000 (UTC) (envelope-from SRS0=oKtl=MU=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 509AB28416; Thu, 29 Jul 2021 01:52:28 +0200 (CEST) Received: from illbsd.quip.test (ip-94-113-69-69.net.upcbroadband.cz [94.113.69.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 5C0CF28411; Thu, 29 Jul 2021 01:52:27 +0200 (CEST) Subject: Re: Building multiple kernels with "make release" To: Juraj Lutter , Glen Barber Cc: Alan Somers , FreeBSD CURRENT References: <20210728172650.GI1648@FreeBSD.org> <20210728172830.GJ1648@FreeBSD.org> <20210728173203.GK1648@FreeBSD.org> <20210728175657.GL1648@FreeBSD.org> <20210728183702.GM1648@FreeBSD.org> From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: Date: Thu, 29 Jul 2021 01:52:25 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4GZr7S4vT8z3vWQ X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N 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? >>>> >>>> I now seem to recall some weirdness with this, but the exact details >>>> elude me at the moment. >>>> >>> >>> Setting INSTALLKERNEL="GENERIC-NODEBUG" during "make installkernel" >>> overrides whatever KERNCONF was set to. But it still only installs one >>> kernel. Trying to set that variable to a list doesn't work. >> >> Ok. Give me a day or so to try to figure out what is (or isn't) >> happening here. I do not recall any recent-ish changes that would have >> caused this, and I am 95% certain it has worked in the past. > > According to Makefile.inc1: > > make installkernel KERNCONF=“KERN1 KERN2” > > should install KERN1 and KERN2. Similar goes for buildkernel. > > Or is there something I am missing? Does 'make installkernel KERNCONF=“KERN1 KERN2”' really install both kernels? Under which names? I have 3 kernels defined in KERNCONF in /etc/make.conf for years. 3 kernels are built by "make buildkernel" but only one installed by "make installkernel". To install other kernels I use: make installkernel KERNCONF=KERN2 KODIR=/boot/kernel.KERN2 make installkernel KERNCONF=KERN3 KODIR=/boot/kernel.KERN3 Miroslav Lachman