Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp690113lqb; Wed, 17 Apr 2024 08:09:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUEUeEwG+66PCy1TqEz93KkCKUsRQFvxXk3WklK4b5mAXABqJyodJcuwPhKIe6jN2YqSLd2P+LC3V9fhDiB6dI8iRc8oVYFtAvlHq8C1w== X-Google-Smtp-Source: AGHT+IGYD34lnW9hjO1bEXNhnlfHE2gknePfe7h7g363g73JeRR25PY0ZXykJDx6UF36MZDiXH+0 X-Received: by 2002:a05:620a:5d84:b0:78e:ba1c:c7b0 with SMTP id xx4-20020a05620a5d8400b0078eba1cc7b0mr17030145qkn.15.1713366572240; Wed, 17 Apr 2024 08:09:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713366572; cv=pass; d=google.com; s=arc-20160816; b=nghSAg4+zAzwfthuKtZuZJelcaY/Wo9JB6/lJCVVGWVWI/0s6B2R+aSpq2GjmZR3tx WCgP8+h0zPe6lUS5rRC0pOR/Fsa9seHqiuuOeOnss+37bZJchhaOU+3VQgKomrRtExIb Lv3LZuSL/F35aNs7KlaWnZ2/OqDVMUcB3p6CiYyTXn4rpBUivGdvhVoAtryfPc6ib0sW hcsYmHC+OfeTr3XlQdVhZas+FMzGxH6lE8z9o658DMhfmWez3dfi7U3T+WLUw+xv6E3o 4JuZcwReuNwECVr86hkAQw7ETMhxym73pmwRMRkH2oK7vW+ic+j5uILlpb5vkraoaPss s+FQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:feedback-id:references :in-reply-to:message-id:subject:cc:from:to:date:dkim-signature; bh=KXu6bVlBQqZX1RSrSxQRTAvWT4KoOmUy+znF/34aNxM=; fh=+Cdlcz79wFauD4jv4QxSH6J1Uenm/U+UvBuU5e28J3A=; b=xqGIiJkfS188MUXRg7ZT6zwXSgLE9G3/uiIOeQlevNh0dmFq8jp3h4Ggs1pUAnsrKX Wpmphe+OiUqcD68CEYsdA8P1u9Xt0lWiWugWtNHqDNkQqeOpnt0Xe4zZ7H3n4f5S1okd vmL0tlFCZVukXNQ/KEkdLBSIB+vQ77HMMpAR9TCxaU6xpd+bgHuwqAQ69LLA4YKys/qs fXHIu/cSF8g43M0ZUMwiPYaE7QGHa0DfHYjq9TgQv0/NMRaZNpHhN5voHvGz8YGV5UP4 mY5UNlcvsYfP8BHVyWU69Xj+AvNWoTAEE/V1bE1ZA/YVriCWX2DItU4kU3sqOxFpdzmF Y8sQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@thefossguy.com header.s=protonmail header.b=e5VyCHM3; arc=pass (i=1 spf=pass spfdomain=thefossguy.com dkim=pass dkdomain=thefossguy.com dmarc=pass fromdomain=thefossguy.com); spf=pass (google.com: domain of linux-kernel+bounces-148763-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148763-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=thefossguy.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id t9-20020a05620a450900b00788263f69afsi15911590qkp.313.2024.04.17.08.09.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 08:09:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-148763-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@thefossguy.com header.s=protonmail header.b=e5VyCHM3; arc=pass (i=1 spf=pass spfdomain=thefossguy.com dkim=pass dkdomain=thefossguy.com dmarc=pass fromdomain=thefossguy.com); spf=pass (google.com: domain of linux-kernel+bounces-148763-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148763-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=thefossguy.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id EA6761C21776 for ; Wed, 17 Apr 2024 15:09:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 26ECB146D69; Wed, 17 Apr 2024 15:09:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=thefossguy.com header.i=@thefossguy.com header.b="e5VyCHM3" Received: from mail-4317.proton.ch (mail-4317.proton.ch [185.70.43.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CED72146A95; Wed, 17 Apr 2024 15:09:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.70.43.17 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713366555; cv=none; b=HiAF90ZZkXRoxXlmbpQQMQtgYtOv4EVRWwx1xQkMV/kLnTtwoVVIKeYyCoj3eV1XLP0U38QMTLMPIQxp8HDBelikQ3w1MQ7kiXtFGIIl6H+jL/9M2qVSSn8ElDtPy1TgCi14uQn5QSPiBpMQDIt1y9k8bG82tfrfgPLXQhhN+EQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713366555; c=relaxed/simple; bh=ttKdkzHMSd4PN+R+DnzszfWy/6/MTbcl4uKdYya5r2I=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=WCBNpAvpPdhonlpAlQ4aVDeZk4Xj4xTgkqYEBaStynEyOGsrTqSd7k5mag8X2KKt8uds2iAR5OBT8eoiHA9pcDk5kw0bBt0yxiznnvrr2t2jOo+B9Iz4ZU54LJpiVefFi39Y3RLLbsy1q8wybywM97390pYc4QSqNX3SSr7skYI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=thefossguy.com; spf=pass smtp.mailfrom=thefossguy.com; dkim=pass (2048-bit key) header.d=thefossguy.com header.i=@thefossguy.com header.b=e5VyCHM3; arc=none smtp.client-ip=185.70.43.17 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=thefossguy.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=thefossguy.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thefossguy.com; s=protonmail; t=1713366546; x=1713625746; bh=KXu6bVlBQqZX1RSrSxQRTAvWT4KoOmUy+znF/34aNxM=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=e5VyCHM3mqicw7sbd5rjhEtRSrbAgoctZK/gbcqUm7uzOiVPGjmzxeu9BbwCYX/f2 MtXxJf8tior2UMmwju5DPxRpGjqblKn7o1zJ0bZNPftMT+ZImafvtPUq+j/Hud39E+ ciBRhsZnSEaaKrW+I2kLX+Ge0i/RLIZMop9vNnoj05n/9SfbNwSwYUT32Hgv1Draqi meNehBpxi999vxqwBrTh8lrzMCL91L1/iEmJrxw46NX6JQnVc7d4cayDNJk5Xo/ujh 2aQrv3/nquoKXbOkHoFlp+4dDpmeOPV45kUYOZVAcepR887lfmjRlxASjqY2nqFNb4 A3TmukYCTq4sQ== Date: Wed, 17 Apr 2024 15:08:57 +0000 To: Nathan Chancellor From: Pratham Patel Cc: Masahiro Yamada , Nicolas Schier , Jonathan Corbet , linux-kbuild@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, thefirst1322@gmail.com Subject: Re: [PATCH 0/2] Enable building of the devel RPM package from Kbuild Message-ID: In-Reply-To: <20240417144859.GA1471879@dev-arch.thelio-3990X> References: <20240417043654.60662-1-prathampatel@thefossguy.com> <20240417144859.GA1471879@dev-arch.thelio-3990X> Feedback-ID: 104309535:user:proton Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Wed Apr 17, 2024 at 8:18 PM IST, Nathan Chancellor wrote: > On Wed, Apr 17, 2024 at 04:37:32AM +0000, Pratham Patel wrote: > > This addresses a minor nit where I want a `-devel` RPM package to be > > built when I build a binary RPM package with either `binrpm-pkg` > > or `rpm-pkg` target(s). > > > > Pratham Patel (2): > > kbuild: allow toggling the `with_devel` RPM macro > > docs: kbuild: document KBUILD_RPM_WITH_DEVEL > > > > Documentation/kbuild/kbuild.rst | 6 ++++++ > > scripts/Makefile.package | 5 ++++- > > 2 files changed, 10 insertions(+), 1 deletion(-) > > > > -- > > 2.42.0 > > > > Hmmm, when I execute > > $ make -skj"$(nproc)" ARCH=3Dx86_64 O=3Dbuild mrproper defconfig binrpm= -pkg > > I end up with > > $ ls -1 build/rpmbuild/RPMS/x86_64 > kernel-6.9.0_rc4_00031_g96fca68c4fbf-1.x86_64.rpm > kernel-devel-6.9.0_rc4_00031_g96fca68c4fbf-1.x86_64.rpm > kernel-headers-6.9.0_rc4_00031_g96fca68c4fbf-1.x86_64.rpm > > so it seems like this is already happening? > > Cheers, > Nathan Ah sorry, that was a typo. I meant to say the following: "This addresses a minor nit where I **don't** want a `-devel` RPM package to be built when I build a binary RPM package with either `binrpm-pkg` or `rpm-pkg` target(s)." That is because on ARM systems where I just need to quickly test the upstream defconfig, I don't really need the `-devel` package. Also, I see that in a hurry, I did the opposite of what I wanted in the patches. This went unnoticed since I had KBUILD_RPM_WITH_DEVEL=3D0 for me during testing. Sorry about that! I'll send a v2 fixing this stupid mistake. -- Pratham Patel