From d322cf189a7d5abc2777ed123e269e494d4bba2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milo=C5=A1=20Prchl=C3=ADk?= Date: Mon, 23 Oct 2023 14:16:23 +0200 Subject: [PATCH] Fix kernel-rebuild detection of gcc --- tests/rebuilds/kernel/test.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/rebuilds/kernel/test.sh b/tests/rebuilds/kernel/test.sh index f21c5b1..756fe70 100755 --- a/tests/rebuilds/kernel/test.sh +++ b/tests/rebuilds/kernel/test.sh @@ -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