mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 04:18:39 +08:00
Revert "kbuild/mkspec: support 'update-bootloader'-based systems"
This reverts commit 27c3bffd23
.
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>
This commit is contained in:
parent
bca17edb24
commit
435e86998e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user