aboutsummaryrefslogtreecommitdiff
path: root/scripts/package
diff options
context:
space:
mode:
authorMasahiro Yamada2024-02-02 22:35:19 +0900
committerMasahiro Yamada2024-02-19 18:20:40 +0900
commit435e86998edf2a2308e7917c6368427f89664c61 (patch)
tree92c19b332f06f43a197a2c69df6d37bf25536d24 /scripts/package
parentbca17edb24cb0e9ebc9269a77fc0a15f4b526f65 (diff)
Revert "kbuild/mkspec: support 'update-bootloader'-based systems"
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>
Diffstat (limited to 'scripts/package')
-rw-r--r--scripts/package/kernel.spec5
1 files changed, 0 insertions, 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