Bug 2094902 - Fix installer cross-compiling
Summary: Fix installer cross-compiling
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.11
Hardware: All
OS: All
low
low
Target Milestone: ---
: 4.11.0
Assignee: Nobody
QA Contact: Gaoyun Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-08 15:16 UTC by Yaakov Selkowitz
Modified: 2022-08-10 11:17 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-10 11:17:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift installer pull 5905 0 None open Bug 2094902: Simplify cross-compiling 2022-06-08 15:16:31 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 11:17:22 UTC

Description Yaakov Selkowitz 2022-06-08 15:16:10 UTC
Two hazards exist when cross-compiling openshift/installer:

* go generate always needs to be run natively, even when cross-compiling.  Handling that in build.sh simplifies cross-compiling both manually and in installer-artifacts.

* Currently, the wrong binaries from a previous build are being included in
the installer binary when (cross-)compiling locally for multiple targets
in sequence.

Comment 3 Gaoyun Pei 2022-06-14 12:16:14 UTC
This is about installer build improvement. No regression issue found on registry.ci.openshift.org/ocp/release:4.11.0-0.nightly-2022-06-11-054027, mark this as VERIFIED.

Comment 6 errata-xmlrpc 2022-08-10 11:17:00 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: OpenShift Container Platform 4.11.0 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:5069


Note You need to log in before you can comment on or make changes to this bug.