Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Revert "kbuild/mkspec: clean boot loader configuration on rpm removal"

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>

+1 -3
+1 -3
scripts/package/kernel.spec
··· 101 101 fi 102 102 103 103 %preun 104 - if [ -x /sbin/new-kernel-pkg ]; then 105 - new-kernel-pkg --remove %{KERNELRELEASE} --rminitrd --initrdfile=/boot/initramfs-%{KERNELRELEASE}.img 106 - elif [ -x /usr/bin/kernel-install ]; then 104 + if [ -x /usr/bin/kernel-install ]; then 107 105 kernel-install remove %{KERNELRELEASE} 108 106 fi 109 107