kbuild/mkspec: clean boot loader configuration on rpm removal
authorPaolo Abeni <pabeni@redhat.com>
Wed, 2 Mar 2016 14:28:00 +0000 (15:28 +0100)
committerMichal Marek <mmarek@suse.com>
Fri, 4 Mar 2016 21:59:09 +0000 (22:59 +0100)
commit6ef41e22a320d95a246d45b673aa7247cc1bbf7b
tree215c0dff0e72f9574c3775064e9f277e01465404
parentc8b08ca558c0067bc9e15ce3f1e70af260410bb2
kbuild/mkspec: clean boot loader configuration on rpm removal

This patch add a rpm preuninstall scriptlet to cleanup the
boot loader configuration on kernel package uninstall.
The initrd for the to-be-removed kernel is deleted, too.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Michal Marek <mmarek@suse.com>
scripts/package/mkspec