Skip to content

Commit aed8729

Browse files
committed
kernel.spec: replace '=' with space in argument of kernel-install
JIRA: https://issues.redhat.com/browse/RHEL-114361 Upstream Status: RHEL only Commit in Fixes has a flaw that kernel-install in systemd of RHEL 9 only takes argument deliminated by space not '='. Fixes: 3a10a14 ("kernel.spec: add '-e' option to %preun for kernel-core and kernel-uki-virt") Signed-off-by: Li Tian <litian@redhat.com>
1 parent 0e16add commit aed8729

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redhat/kernel.spec.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3295,7 +3295,7 @@ touch %{_localstatedir}/lib/rpm-state/%{name}/installing_core_%{KVERREL}%{?-v:+%
32953295
%{expand:%%preun %{?-v:%{-v*}-}%{!?-u*:core}%{?-u*:uki-%{-u*}}}\
32963296
entry_type=""\
32973297
%{-e: \
3298-
/bin/kernel-install --help|grep -q -- '--entry-type=' &&\
3298+
/bin/kernel-install --help|grep -q -- '--entry-type ' &&\
32993299
entry_type="--entry-type %{!?-u:type1}%{?-u:type2}" \
33003300
}\
33013301
/bin/kernel-install remove %{KVERREL}%{?-v:+%{-v*}} $entry_type || exit $?\

0 commit comments

Comments
 (0)