Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp676323lqb; Wed, 17 Apr 2024 07:51:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUaXUaddBgWmD4PY7cmoMaA3usJyjVjQpQTumY8YEioYeuU+8EV/uEiVccpbpmhCXYKMuYow2xuE9IbNYtc6OL8/1+lg0eC1p4SuvCBGQ== X-Google-Smtp-Source: AGHT+IHhm1KVpMlg2iLiyE9Zfsu9nX6Akt9ml+TKFRinYdRncVq5ngAuAY0wNwqDW2AhjrH3R/lK X-Received: by 2002:aca:2406:0:b0:3c6:d6b:b3ce with SMTP id n6-20020aca2406000000b003c60d6bb3cemr17469701oic.38.1713365467570; Wed, 17 Apr 2024 07:51:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713365467; cv=pass; d=google.com; s=arc-20160816; b=LTh5r1R82JB392mr+JVhu2MQYM8gMTeKqvn3pLusGEUPV8q05NKSz5DQBSrU0bCG0C p0UR2k472TCBBeAHj3qwrz9cdU1bqXlI7G6L+onhswupEBR8xxwCO9ca+Rv9NpKiLTRw Xz2/qAGaBgYr1e0OaGy1I7ZqLyn/2GYoMyw5DSygAV/HdsInMuFEYtyS9q/ZvYccznR8 uePcqAkerHXPf1GsiE584uI0tNw55Usbc0nMX9ryNFRo78l5FUw2bGmRLuqIsGPTmdmz P1mbvQkWxzRKH0iNTk57S7k29vhT50qgzu3zLH39Wjt2LgrPE8NBDZrX4MW49gsjwTBf jbNw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Is6db+rJ1qd2Mekr+Szvg5295mVwATftA/AHZH9W958=; fh=jr5YscOYGSCMcC0ZwzK/0V7I3J/E9gS5KAoteQ6VLCs=; b=VdfZkXEo6uyDLljjcl++Mepg/SJoO+hPMZKrrOEvRChkfu2i7GpjcFDaENOxU5eEXz nn7JOzZCDaLAc2Bcun6LQWWVj/UXi3G5MGomeNqJlaYDcEQirKVAywNw66ZeQCcASqLW 399v9ayG6FnVI5U4NPKYZ9HuPQ0t1Z40M5+acsxYr7qcrIS/IfBJR09KLzS9o6wBdOvd Okp4/7y7vtG9DfF/HlpxyJ5uo8myke3sZ3UaM+Y7Y5qtWoPyNBkkCJm7hzO0WR8QboBw ifkIgTzo9I6St3ofySGO+siuWyQFejO7mNZc08movHm38lViEev/cf12XfqmdpeQ9WCC tz9g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Zrc/fQcm"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-148723-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148723-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id r11-20020a05622a034b00b0043699de5d3dsi12123794qtw.634.2024.04.17.07.51.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 07:51:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-148723-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Zrc/fQcm"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-148723-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148723-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 49BD91C20D8B for ; Wed, 17 Apr 2024 14:51:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B90CE1422C7; Wed, 17 Apr 2024 14:49:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Zrc/fQcm" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 D894D13F44A; Wed, 17 Apr 2024 14:49:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713365341; cv=none; b=f6D8IDhcPw0MssLe0jxArdGxPLBUnTj+8P7i3dzNYrwrClcOlVA0lpktiTORUL2g/bU/2xbHJhwXk9amMV8I5/pInEJEGC8L+qTqbp8V9eoA5kGKXoAKkgMCRNtqHgyJi0RYRlySEyyifTm6yacThRPrP2DnyZKb4sHSo3EqBfQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713365341; c=relaxed/simple; bh=csDUpJcvCrwb5nQUKE6rIKwnccp2Lm3sAMFjZWS0LWE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=p6B6HDfSn6Tsg4DwHCArM3u894+ywIhOD7ciLlX+LKz7OxpdWjL9zRVt5KfXsijtEgkpMfpDBfLl10ejZSbjHrbMBsI/uoHgDezVtztpcdvUuJ54Ncg3MwnVu5DC5/ENU8jnXuDVDy4GDqeF3qoJa6EGXx53OYG3kGccWAnmFuw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Zrc/fQcm; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0603BC072AA; Wed, 17 Apr 2024 14:49:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713365341; bh=csDUpJcvCrwb5nQUKE6rIKwnccp2Lm3sAMFjZWS0LWE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Zrc/fQcmdl1DSWDPiRcKShyJ9zUpZcY3Q6TZ4j75Gpqr2n2nPHifeZ6YfEc3Z9Joo fj6m9UaqlBq2JECBILLgOuE/e5TBatqMTX/XhyLFq7EJzeBFgbslRDvg6FOLXzAZd/ qqULol9mm1N/IuYI7no3iwnOQ+gsj2vQpyC7evIu3rg+9j96BRqrG6RtHomJXM+jhz WVjz3yfl/KQfTGS/ev+sDV9c2dDROl+EjZThyziVsG7o20rdo6zI4IQAPQ2aFWjKUc PwIKi14x+3GrA5GjP1e45Bjaeob7LLvZM3Gv9qQbK6ooNi9fM2qnML3Apmn+PwWL1z R1m+P2JySSZYA== Date: Wed, 17 Apr 2024 07:48:59 -0700 From: Nathan Chancellor To: 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: <20240417144859.GA1471879@dev-arch.thelio-3990X> References: <20240417043654.60662-1-prathampatel@thefossguy.com> 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=us-ascii Content-Disposition: inline In-Reply-To: <20240417043654.60662-1-prathampatel@thefossguy.com> 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=x86_64 O=build 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