Message ID | 20240202133520.302738-3-masahiroy@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-49906-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:9bc1:b0:106:209c:c626 with SMTP id op1csp430282dyc; Fri, 2 Feb 2024 05:36:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IHxwsyPFc8rbd6eNPQtn9JoHXwFN6A/iHm3+uNZjkrvSP0vOG1F57vYzea1iHhj2fnzg1JF X-Received: by 2002:a17:906:e246:b0:a36:598b:e291 with SMTP id gq6-20020a170906e24600b00a36598be291mr5889060ejb.26.1706881009534; Fri, 02 Feb 2024 05:36:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706881009; cv=pass; d=google.com; s=arc-20160816; b=gxkml/TW1GJpKBN2wocB/H3vJUqKGQPCgkdwMjBQgs9s7vleLHnQyuYMpYjKr5uEmW DFc6yCQafF0X/2P11aEZdoUDMNHVxZ5ZPds3bznoHaT2H4L6lzFObYMqPlHvMdoapBMD Eqe63ssNyjFiqeBzlFSbDmRXUdhWGlDpPjDPZXAAlYIuo0sx6mfk4ynU5tmLFdTWks/f BxfYFInYQ9gL+3x6ukxaZbuVeOY7gG1qy+ISGUHB4SGiEIRQZbiNxxehzlfH+V2DRwtD o29vQ0P/TLZrRwJjw4jHIjW1vSw/jB0yfyq5h78JBu8Ve4cNCEY9A63wwLwLXIOjRCqC MTSw== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=TyWmCE0uCtJVJwt0GOpvjFFUZu90+pijs1A/pBqAcac=; fh=zuIMrDkoI2wpLGG7oJuZnBNOAL2zytAPUADWtktMbJo=; b=ObRZGaV89vn7QuxOv4tZTKiRNhrTj4mKtTejve747s/sr9vTYJynPmulVZr9sCicc1 21ikrqlPvfOGSpbN0N2sEsqHTmiedl6lvZigC1HgRi9UfQdwONVu7PqDaEy3rXVcEgq3 bc/ePFjgmiURbKYweI4MY6QmKuSTI9Jsij5Ox/ybo6lFfT6BLnSkmc16yGvvXVCC94Bp mzkrBYCvQ/3pJpBFZW7mLzp7/HX4k/KZHXDcpZWZmPwQFn/dQYu8dfbLOAp7xxP/QC6q 3qAedJ7tJHUufqD/6QixCBF87eV+5JXtqtDu/UCChvg9qmfFg/OVMfQZQxF9o7lMMHTT oeTA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VTRodOTz; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-49906-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49906-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCXRhAPByjXBlpDw/XstIkrXxqvCrucL8NzmXXS1d8s2+8LUnsKTZ+WsdC/Tnw8uiqfXUdlOFS0gOPoZjl74S0+XAvInmA== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id ck15-20020a170906c44f00b00a36f9e61667si773543ejb.914.2024.02.02.05.36.49 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 05:36:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-49906-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VTRodOTz; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-49906-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49906-ouuuleilei=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 96A861F2B327 for <ouuuleilei@gmail.com>; Fri, 2 Feb 2024 13:36:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2020D144636; Fri, 2 Feb 2024 13:35:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="VTRodOTz" 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 6676B60249; Fri, 2 Feb 2024 13:35:30 +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=1706880930; cv=none; b=DViYL3lo/niD85UY3OOaeh5gaS+4EGqUaaKgMCyep9gvWU4my49mEGHTzJfsdYjeUg1awprt1d7kurLhS2EBCjNkMDN/Vrd0e9lzfWpL5mhTorSPW6BXu0d9IUnixx3jatdiw8ucSEoGkgFtAGnQjdHPoZvi8OPVvp5pp8pW9SU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706880930; c=relaxed/simple; bh=K6THucq1Y36mjX1mtaVBB8G3stK33EV44ZYVaZxE6qM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=a5sbbmopCZA1ydvN7iS+WJs27edghEB8V9VPfHJ6gm/0O+btwGXLns/3giuPiI3gN6kkeAeiNZqs1E3pN/wJirL7KsIfuMYu/VqcFNjFNRDVCT0xpripcDaZ+HRm8+18L2uioLZ5F5x/4LmvxyfQR+qvhduqFqJ69emH0ZW4Vog= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=VTRodOTz; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id F1525C43394; Fri, 2 Feb 2024 13:35:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706880929; bh=K6THucq1Y36mjX1mtaVBB8G3stK33EV44ZYVaZxE6qM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VTRodOTz25bBMg9dt1yMLRJ3+YxQ+CO5lRLU9KR+IXHRBEaqEVqK5H2LrBtzcKJTY IGXcZzof9ZstcCQUBorzavfa8x8coAOwES6EkkZ6JrIBHmUEwH8pa/3ztbj9lZ1lPq /BiXHn7gFbuMsG0R/1TTI7Am+58h8RYbgLCXSCoG49rEfryZhY7N7VpiNERlTjplB0 Rx8q6DOdmiWeuvgb3Oa3Qbk+8r5LDNxEUv9MQPxP+/OMwg+kXk6X1zF2+QRQ5Ccn6Z yvdmPOK7cH0a4Ptz6/rbYE1z0kdet4ukcmkGoz/uy00av3vFr4Fjwf3wZUTNUINzKr qlTKPUmZTtmiw== From: Masahiro Yamada <masahiroy@kernel.org> To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada <masahiroy@kernel.org>, Nathan Chancellor <nathan@kernel.org>, Nicolas Schier <nicolas@fjasle.eu>, linux-kernel@vger.kernel.org Subject: [PATCH 3/4] Revert "kbuild/mkspec: support 'update-bootloader'-based systems" Date: Fri, 2 Feb 2024 22:35:19 +0900 Message-Id: <20240202133520.302738-3-masahiroy@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240202133520.302738-1-masahiroy@kernel.org> References: <20240202133520.302738-1-masahiroy@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789794461509272878 X-GMAIL-MSGID: 1789794461509272878 |
Series |
[1/4] kbuild: rpm-pkg: do not include depmod-generated files
|
|
Commit Message
Masahiro Yamada
Feb. 2, 2024, 1:35 p.m. UTC
This reverts commit 27c3bffd230abd0a598586aed0fe0ba7b61e0e2e.
If this is still needed, we can bring it back.
However, I'd like to understand why 'update-bootloader --remove' is
needed for uninstallation, while 'update-bootloader --add' was not
called during the installation.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---
scripts/package/kernel.spec | 5 -----
1 file changed, 5 deletions(-)
diff --git a/scripts/package/kernel.spec b/scripts/package/kernel.spec index ecedcfc11e73..c1b745967f64 100644 --- a/scripts/package/kernel.spec +++ b/scripts/package/kernel.spec @@ -107,11 +107,6 @@ elif [ -x /usr/bin/kernel-install ]; then kernel-install remove %{KERNELRELEASE} fi -%postun -if [ -x /sbin/update-bootloader ]; then -/sbin/update-bootloader --remove %{KERNELRELEASE} -fi - %files -f %{buildroot}/kernel.list %defattr (-, root, root) %exclude /kernel.list