linux/scripts/package
Jiri Kosina 27c3bffd23 kbuild/mkspec: support 'update-bootloader'-based systems
When uninstalling kernel RPM, we're unconditionally calling
"new-kernel-pkg --remove". This is useless on systems which are based on
'update-bootloader' script instead.

Support update-bootloader removal method as well in case the script is
present; contrary to new-kernel-pkg, this needs to be done in %postun,
otherwise update-bootloader will refuse to remove entry for kernel for
which the binary still exists.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Michal Marek <mmarek@suse.com>
2016-04-20 10:01:30 +02:00
..
builddeb Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild 2015-11-10 21:11:58 -08:00
buildtar kbuild: Make scripts executable 2014-08-20 16:03:45 +02:00
Makefile package Makefile: fix perf-tar targets when outdir is set 2015-11-24 17:49:42 +01:00
mkspec kbuild/mkspec: support 'update-bootloader'-based systems 2016-04-20 10:01:30 +02:00