Fix kernel-rebuild detection of gcc

This commit is contained in:
Miloš Prchlík 2023-10-23 14:16:23 +02:00
commit d322cf189a

View file

@ -89,6 +89,9 @@ rlJournalStart
rlLogInfo "REBOOTCOUNT=$REBOOTCOUNT"
rlLogInfo "RPM_BUILD_ID=$RPM_BUILD_ID"
rlRun "GCC=$(rpm -ql $GCC_PACKAGE | grep -E 'usr/bin/gcc$')"
rlLogInfo "GCC=$GCC"
rlRun "AFTER_REBOOT=no"
if [ "$REBOOTCOUNT" != "0" ]; then