Skip to content

Commit

Permalink
packaging: setup: Do not fail if engine package is missing
Browse files Browse the repository at this point in the history
We recently merged a patch to verify that the engine and setup packages'
versions match. This fails on a separate-DWH machine. Fix.

Bug-Url: https://bugzilla.redhat.com/2083230
Change-Id: I41b06309e59bbe52dffa30ae2d0f618d9ffca97d
Signed-off-by: Yedidyah Bar David <didi@redhat.com>
(cherry picked from commit aa7bfe9)
  • Loading branch information
didib authored and mrkev-gh committed May 10, 2022
1 parent cba896f commit 671e414
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,10 @@ def _validation(self):
'--queryformat=%{version}-%{release}',
oenginecons.Const.ENGINE_PACKAGE_NAME,
),
raiseOnError=False,
)
engineVersion = stdout[0]
if rc == 0:
engineVersion = stdout[0]
if (
engineVersion is not None and
osetupcons.Const.DISPLAY_VERSION != engineVersion
Expand Down

0 comments on commit 671e414

Please sign in to comment.