Re: [PATCH] kbuild/mkspec: support 'update-bootloader'-based systems

2016-04-20 Thread Michal Marek
On Thu, Apr 07, 2016 at 03:00:54PM +0200, Jiri Kosina wrote: > From: Jiri Kosina > > When uninstalling kernel RPM, we're unconditionally calling > "new-kernel-pkg --remove". There is of course a test whether the script exists. > This is useless on systems which are based on

Re: [PATCH] kbuild/mkspec: support 'update-bootloader'-based systems

2016-04-20 Thread Michal Marek
On Thu, Apr 07, 2016 at 03:00:54PM +0200, Jiri Kosina wrote: > From: Jiri Kosina > > When uninstalling kernel RPM, we're unconditionally calling > "new-kernel-pkg --remove". There is of course a test whether the script exists. > This is useless on systems which are based on >

[PATCH] kbuild/mkspec: support 'update-bootloader'-based systems

2016-04-07 Thread Jiri Kosina
From: Jiri Kosina 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

[PATCH] kbuild/mkspec: support 'update-bootloader'-based systems

2016-04-07 Thread Jiri Kosina
From: Jiri Kosina 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