Message ID | 20240202133520.302738-4-masahiroy@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-49907-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:9bc1:b0:106:209c:c626 with SMTP id op1csp430297dyc; Fri, 2 Feb 2024 05:36:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IEvduTzW7obv6F3BsbDMbXnXCXD7FRNXpgX7iRVwqFL2JBwHrAb5sXo6V5cIF1IzEjVWkaz X-Received: by 2002:a17:906:598:b0:a36:c489:7cba with SMTP id 24-20020a170906059800b00a36c4897cbamr3496654ejn.74.1706881012634; Fri, 02 Feb 2024 05:36:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706881012; cv=pass; d=google.com; s=arc-20160816; b=B9f/99I4hOeD0VihdVdkY7Pc6Mmk23vhZoeaC/G2lTohrHDSAhu+8Vnb5ztLBeK+AM R1mDyb5yyIFayxmh1rFaGPbHjINXP5FVLu92EHGOyCmcmv8uIru2cRSTw4lIeZUsYTqw or+26hjlLkG86AHAMLRr9+1vEUpe/P6ZTsXYkjtM5mO25U2vO1Jj60m0DLvu7eH5Sy1s l9dao1zmCdxOP3G9H5gCCLJ3OVV2IthIW94eeiESUYi4uX7B2u5vegOTZ5LJ6EFIZBl2 pOcWkGCUR2A3fdhtID4lbnwAF8PhkqsDnVv/eQ2dTofZ5oodVT6qBDbPXD+PEP84iT3j c+Dw== 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=kOa6lQc5BwC7V1LC2iSo0L/axDHEfh8Kzyajz+jlTsc=; fh=QqGTIzJIbyKKiLhk9uQVxvodsl/e4qzE71KmDNK3KBk=; b=czo0meuNY1lHAnkfZ9B0bCKJUuGEpuLaTt7HGVeCgXB4EqYcltxW9TUrzUp4Dkc13Y wpGPH56Ntp2P2zCgrXMlYN18mX+HmoTLUnerOqsNrTpxEY6bNfk8FHus+aTe7l2W59+p hfTXNXaJtEyOj0jWZgYKyDJ9P0wD6Xfhtx7ZilU2Kl0u9SX+I0XfEaLIXHSMtvM7P1NL iUN4m1sqTzgUAHqp8Dg/KKLRSVmiaUDmLJ82g+H3RutwXLpdyCxDR4aY+SaYI/0eZnkE /rx0PuC4B0yU7NutjTftqRQevsZbS45+1lZk3OA5T5ifgcFu0vmXiccmlJrHws605ECB I6TA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=o9wTjFPF; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-49907-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49907-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCVG2aVMT4+pxPMNbYTezL+E2hMUzvATMwHIrJOpfQ8tmQ/n/PquN7TKzbdYR7f1Z4kuUMhSq3ufKT+YN+3E26KZGvRH+A== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id x18-20020a1709064bd200b00a3599b5fefesi854205ejv.194.2024.02.02.05.36.52 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 05:36:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-49907-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=o9wTjFPF; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-49907-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49907-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 DEDC41F2B767 for <ouuuleilei@gmail.com>; Fri, 2 Feb 2024 13:36:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 676B2145341; Fri, 2 Feb 2024 13:35:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="o9wTjFPF" 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 C35601419B0; Fri, 2 Feb 2024 13:35:31 +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=1706880931; cv=none; b=Asuj2kGush6IkkAaYbLGTtSdhTPDhlFy6r552wodT8zsIkykBDiygeu7HLDHfL6UTOQQeSYmXnEWgb0DOiyV2Auem64shf9xzaR8NqjUJYRhcb4yWK3p2GDP69bbvT766f/tluvGGdY5w7xqMjLvY+5eDwEdaGIuddQiqUKktfU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706880931; c=relaxed/simple; bh=kEo4j6RbGBwDkaFpN5XVSmcWPQCgDr626mH0ogy5qbs=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=VTxc0neANVfYn87TPZOb34IvFKNs8JSJudYpwXjAd2x2QEdBkZMnVdN0svFtzn+n0ew84FHqYAkGjuk+J9S6icqFFwydLgfdsIwDjvQbLy7xrKZhiUY7nQBi4lX3hnkqQScb3Rh/X6+yRNLNanhrORh8d9R4WieugoIDwF+CjBE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=o9wTjFPF; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5833DC43390; Fri, 2 Feb 2024 13:35:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706880931; bh=kEo4j6RbGBwDkaFpN5XVSmcWPQCgDr626mH0ogy5qbs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=o9wTjFPFPUJZK+qU5vDxPrIjjaDRM1wdNAawh31g3gXI9yurFsRiN/HBPEGxELIvY 9jikLJsYmkoG5bwzv5TCpYgwc6Kz9K+MpaedtrlvHjO2cQrp9s2MkrXTJ6saCjGUMR EPXBmw6r6sTPzoY6ebxDZcnYdA46KIkVUUKiURoxQDvj36fiCQs0J6E72Xe0cdS7H7 SKodssaWEDeF9AbuLWHiC0COSXjep14e+0e7MVh2Em7QWxmWBaf82sl3LAE3Lrya2j 9HQ1S7hJNLZuuSi+Sz6SAzv58SSRztDl8mmcSomkIeS1PBHOKLUxhVlEVJ/7jCKNRb Wq9+aaWA6wPag== 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 4/4] Revert "kbuild/mkspec: clean boot loader configuration on rpm removal" Date: Fri, 2 Feb 2024 22:35:20 +0900 Message-Id: <20240202133520.302738-4-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: 1789794464787857112 X-GMAIL-MSGID: 1789794464787857112 |
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 6ef41e22a320d95a246d45b673aa7247cc1bbf7b.
If this is still needed, we can bring it back.
However, I'd like to understand why 'new-kernel-pkg --remove' is
needed for uninstallation, while 'new-kernel-pkg --install' was not
called during the installation.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---
scripts/package/kernel.spec | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/scripts/package/kernel.spec b/scripts/package/kernel.spec index c1b745967f64..c256b73cca3e 100644 --- a/scripts/package/kernel.spec +++ b/scripts/package/kernel.spec @@ -101,9 +101,7 @@ if [ ! -e "/lib/modules/%{KERNELRELEASE}/modules.dep" ]; then fi %preun -if [ -x /sbin/new-kernel-pkg ]; then -new-kernel-pkg --remove %{KERNELRELEASE} --rminitrd --initrdfile=/boot/initramfs-%{KERNELRELEASE}.img -elif [ -x /usr/bin/kernel-install ]; then +if [ -x /usr/bin/kernel-install ]; then kernel-install remove %{KERNELRELEASE} fi