Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1383138 > unrolled thread

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

Started byMichal Marek <mmarek@suse.cz>
First post2016-04-20 10:10 +0200
Last post2016-04-20 10:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] kbuild/mkspec: support 'update-bootloader'-based  systems Michal Marek <mmarek@suse.cz> - 2016-04-20 10:10 +0200

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

FromMichal Marek <mmarek@suse.cz>
Date2016-04-20 10:10 +0200
SubjectRe: [PATCH] kbuild/mkspec: support 'update-bootloader'-based systems
Message-ID<rpVmW-4Cl-21@gated-at.bofh.it>
On Thu, Apr 07, 2016 at 03:00:54PM +0200, Jiri Kosina wrote:
> From: Jiri Kosina <jkosina@suse.cz>
> 
> 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 
> 'update-bootloader' script instead.

Right.

 
> 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>

Applied to kbuild.git#misc. Let's see what other rpm-based distros are
going to need.

Michal

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web