From nobody Wed Jan 7 03:31:06 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E598AE748ED for ; Sun, 1 Oct 2023 12:38:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234967AbjJAMie (ORCPT ); Sun, 1 Oct 2023 08:38:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229556AbjJAMid (ORCPT ); Sun, 1 Oct 2023 08:38:33 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D70C94; Sun, 1 Oct 2023 05:38:31 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 17380C433C7; Sun, 1 Oct 2023 12:38:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696163910; bh=KEq0sb1sATCnOmr6JZBWJrk3Ia06CKo6O9cePk2xNA0=; h=From:To:Cc:Subject:Date:From; b=fpPkvQIzkuzvHKi+AOjEeMXdXpMfDC0HgQdMe1hoXfco2RpUEnMf+W5uJFjTxGQlQ +aufWVlwkDD0KcCEaX2WtRRDkvK+dTa0fNob1KSzxPZIrP8WM+47xVcrUh3vnFMGej hprruBaBT+wAdHU+e8/sTZoQaYbXQ9+5oWDHF6R+HlgTO1K2ofYlGl9Gk0vYgxlJhc HBdBwn2QvZM2ym6GVNHE0HOlXU1plMPUZmMI6lpQNwwVH/1WVDgC5yY8zZiFfv1zZN mGnRvxM+Ef3OwF4yUN7eAB+SzmbgDzMhZfMIJ67LccNThKW4AO7pVZ5r77IR0AJ1+A 0WU9RB1mhTI8w== From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Masahiro Yamada , Nathan Chancellor , Nick Desaulniers , Nicolas Schier Subject: [PATCH] kbuild: make binrpm-pkg always produce kernel-devel package Date: Sun, 1 Oct 2023 21:38:22 +0900 Message-Id: <20231001123822.1659773-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The generation of the kernel-devel package is disabled for binrpm-pkg presumably because it was quite big (>=3D 200MB) and took a long time to package. Commit fe66b5d2ae72 ("kbuild: refactor kernel-devel RPM package and linux-headers Deb package") reduced the package size to 12MB, and now it is quick to build. It won't hurt to have binrpm-pkg generate it by default. If you want to skip the kernel-devel package generation, you can pass RPMOPTS=3D'--without devel': $ make binrpm-pkg RPMOPTS=3D'--without devel' Signed-off-by: Masahiro Yamada Reviewed-by: Nathan Chancellor Tested-by: Nathan Chancellor --- scripts/Makefile.package | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/Makefile.package b/scripts/Makefile.package index 05b8c3e29aac..3addd1c0b989 100644 --- a/scripts/Makefile.package +++ b/scripts/Makefile.package @@ -94,8 +94,6 @@ rpm-pkg srcrpm-pkg binrpm-pkg: rpmbuild/SPECS/kernel.spec $(if $(filter a b, $(build-type)), \ --target $(UTS_MACHINE)-linux --build-in-place --noprep --define=3D'_smp= _mflags %{nil}' \ $$(rpm -q rpm >/dev/null 2>&1 || echo --nodeps)) \ - $(if $(filter b, $(build-type)), \ - --without devel) \ $(RPMOPTS)) =20 # deb-pkg srcdeb-pkg bindeb-pkg --=20 2.39.2