[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160420080409.GB15339@pobox.suse.cz>
Date: Wed, 20 Apr 2016 10:04:09 +0200
From: Michal Marek <mmarek@...e.cz>
To: Jiri Kosina <jikos@...nel.org>
Cc: Michal Marek <mmarek@...e.com>, linux-kbuild@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] kbuild/mkspec: support 'update-bootloader'-based
systems
On Thu, Apr 07, 2016 at 03:00:54PM +0200, Jiri Kosina wrote:
> From: Jiri Kosina <jkosina@...e.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@...e.cz>
Applied to kbuild.git#misc. Let's see what other rpm-based distros are
going to need.
Michal
Powered by blists - more mailing lists