Commit 435e8699 authored by Masahiro Yamada's avatar Masahiro Yamada

Revert "kbuild/mkspec: support 'update-bootloader'-based systems"

This reverts commit 27c3bffd.

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: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent bca17edb
...@@ -107,11 +107,6 @@ elif [ -x /usr/bin/kernel-install ]; then ...@@ -107,11 +107,6 @@ elif [ -x /usr/bin/kernel-install ]; then
kernel-install remove %{KERNELRELEASE} kernel-install remove %{KERNELRELEASE}
fi fi
%postun
if [ -x /sbin/update-bootloader ]; then
/sbin/update-bootloader --remove %{KERNELRELEASE}
fi
%files -f %{buildroot}/kernel.list %files -f %{buildroot}/kernel.list
%defattr (-, root, root) %defattr (-, root, root)
%exclude /kernel.list %exclude /kernel.list
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment