From nobody Thu Jul 29 00:00:28 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 869F612D2199 for ; Thu, 29 Jul 2021 00:00:45 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-oi1-f179.google.com (mail-oi1-f179.google.com [209.85.167.179]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GZrJs36x5z4SML; Thu, 29 Jul 2021 00:00:45 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-oi1-f179.google.com with SMTP id x15so5986089oic.9; Wed, 28 Jul 2021 17:00:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6SicMlUFqO+JPv9wYYUUAg+odopg+JqhFB/91Ps+9N0=; b=Zlm6xFXLQJjY0ps4A4mskiaPAxRq2DwKY2tqYdbGf6SPQTiGAQWyv2xnunssOgN9M9 i0AufUwK+9Tjz0OdCkqZMP7bDr8Qofgpm8QK0ftbBECHYd5Ue8fWDF4nf7R7Gm3il9PM ROGvZ3DSR8IUFZBtqyQEs7+4wqeJbm+zBREwq0kl9RA1+3qapnBlYU5EQ6v5BwqFGjep OMXm4040rH/a9fmqguU++qa8sCBKoNcRfOQ+zpgCapVfkO0vJiQhH9ZUCBa7swa1IRL8 zDqpYMRFcSZXHErZonQA9ULZLeeXatg5+qN+Dko1tzUd7buZtO0Et+47HJSKmskoHnT0 vcfg== X-Gm-Message-State: AOAM5335vtepx6LT/D5QAD8S3RkNLls4rtL0U7RTyoO9yPGPiQPNmNPt /Moeq44hYnDDSRByg/bSu2gusY5FME8M6o+agP4s7GYyvh0= X-Google-Smtp-Source: ABdhPJzmFwDokbNPzYKYild5yngGEA1i7LeZvzYfnAconNad6KZyVD9g8zIhGCfgoOm0FXy1tWQvs4SgX7Vct1youGY= X-Received: by 2002:a05:6808:2198:: with SMTP id be24mr6571402oib.55.1627516839242; Wed, 28 Jul 2021 17:00:39 -0700 (PDT) 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 References: <20210728172650.GI1648@FreeBSD.org> <20210728172830.GJ1648@FreeBSD.org> <20210728173203.GK1648@FreeBSD.org> <20210728175657.GL1648@FreeBSD.org> <20210728183702.GM1648@FreeBSD.org> In-Reply-To: From: Alan Somers Date: Wed, 28 Jul 2021 18:00:28 -0600 Message-ID: Subject: Re: Building multiple kernels with "make release" To: Miroslav Lachman <000.fbsd@quip.cz> Cc: Juraj Lutter , Glen Barber , FreeBSD CURRENT Content-Type: multipart/alternative; boundary="00000000000011b08f05c837cb5d" X-Rspamd-Queue-Id: 4GZrJs36x5z4SML X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: Y --00000000000011b08f05c837cb5d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jul 28, 2021 at 5:52 PM Miroslav Lachman <000.fbsd@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 wrote: > >>>> Just on a hunch, could you try with adding INSTALLKERNEL=3D"${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=3D"GENERIC-NODEBUG" during "make installkernel= " > >>> overrides whatever KERNCONF was set to. But it still only installs o= ne > >>> 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 hav= e > >> caused this, and I am 95% certain it has worked in the past. > > > > According to Makefile.inc1: > > > > make installkernel KERNCONF=3D=E2=80=9CKERN1 KERN2=E2=80=9D > > > > should install KERN1 and KERN2. Similar goes for buildkernel. > > > > Or is there something I am missing? > > Does 'make installkernel KERNCONF=3D=E2=80=9CKERN1 KERN2=E2=80=9D' 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=3DKERN2 KODIR=3D/boot/kernel.KERN2 > > make installkernel KERNCONF=3DKERN3 KODIR=3D/boot/kernel.KERN3 > > Miroslav Lachman > Miroslav is right. Despite the comment that Juraj found, "make installkernel" only installs the first kernel listed in KERNCONF. -Alan --00000000000011b08f05c837cb5d--