Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp832435rdb; Fri, 2 Feb 2024 05:36:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IHlUYUTsRbjpyRhe6+AXMKLgMZ8+qREPN2QDh1sZBNVjTUoImUTnRylrzf+yT8yFdL7TVVd X-Received: by 2002:a05:6214:1249:b0:68c:83fb:b612 with SMTP id r9-20020a056214124900b0068c83fbb612mr3058249qvv.31.1706880966945; Fri, 02 Feb 2024 05:36:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706880966; cv=pass; d=google.com; s=arc-20160816; b=WT+miR2a2UQxUja7uTUqXNu+7wJEVbwU8RBsU9fBCb0Qma+jAobHPHKWo4fIcGATV0 9bUnxpGOLho6GzenO8GXqJDJe9Wf5OvNeJmrUpaCLWlFLjIoJND1M0A4bNk54ernEku0 nLUwF4rQU4/JWEEZpwUlpVYXk7e41d7WPyHwH8uXfDHM7t4VGGvw7Q6sxMBZ6R3jEdeW fEr4JOrBnFaDTNE+08n6pZWKD/OjiDI0lp8cfJODVG/J5uEzYa9YN240g+AK80CqbQDn I25T/uc0ZonHdfKJ5LFx4Q1zGOVzQXZkhEa8TIaGeQpFcEt5lwbC8dNfYXZRDaU6SpMe sXdw== 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=0SfdYuFwtqTk8aNjdgyDC4V1KH7nU5D7dL3FSIq6gIE=; b=x/yHe8ROzLTvpyfLuEvqb45tK6qetsdG7HH+F2TYX0l6JguAr1HicjkAr/bKVGX6HE 7I5680KFpw2LHJGglYrtWW2tvrilL8ulbPXqsMb/AqODufODyFPPzPh6REZK2sP59qI+ 6kfsn7BSyzPbMWGwuxpXwrGNWRXTPrZR0kXgRT8bYW6dPspVT62/QU8OmlcsjJE6znUP /6dVnTPERwUFU4epZLKn+Wd9xUo+4Tt2Bharyeih3ziIeutOKP1gnBd/1SQvRq+3902U 92PJ/xpAC2fxlIsSIDEJfpI0xaPhajfmvPgYNrFVnT5U1rK0VDCEpsEGmSl5TF7wJBrK gpkg==; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49906-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCWF4ph24v1/4dxw/70W8nNHDhneJFVgo8wIYKPNou6TkW06SF7U82a6PryyV8j9mLkRNKSzs1jcguMjIvcdtPklGISjwBZ7XFZWTVf1uA== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id q2-20020a05621419e200b0068c452b7d9esi2312513qvc.356.2024.02.02.05.36.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 05:36:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-49906-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=VTRodOTz; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-49906-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49906-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 8D2A61C25949 for ; Fri, 2 Feb 2024 13:36:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4DC7713E228; Fri, 2 Feb 2024 13:35:31 +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 To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada , Nathan Chancellor , Nicolas Schier , 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: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 --- 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 -- 2.40.1