kernel.spec: add '-e' option to %preun for kernel-core and kernel-uki-virt

JIRA: https://issues.redhat.com/browse/RHEL-104228

Because kernel-install from systemd (see PR 37897) now takes a new argument '--entry-type type1|type2'. Only scriptlet %preun section needs to add.

This is useful both kernel-core and kernel-uki-virt are installed for the same kernel version In this context, 'type1' refers to core, and 'type2' refers to uki.

Resolve: RHEL-104228 Refer to https://github.com/systemd/systemd/pull/37897

Signed-off-by: Xuemin Li xuli@redhat.com (cherry picked from commit bf6016e7a04a18da5b1886e07ab112c58619dc7d) Signed-off-by: Xuemin Li xuli@redhat.com

Merge request reports

Loading