Skip to content

Conversation

@cgwalters
Copy link
Member

Fedora/RHEL are defined to be self hosting; which means
cross compliation is not at all the default. See also
https://blog.verbum.org/2012/10/13/building-everything-from-source-vs-self-hosting/

The mantle code was just using Portage architecture because
of CL; unifying on the RPM architecture names as are already used
by cosa will help consolidate things.

Further, we don't need to pass a "Board" all the way down
the stack; since we don't support cross compliation there's no
reason not to just call the new global API to get it.

@cgwalters
Copy link
Member Author

Depends #1257

Copy link
Contributor

@arithx arithx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems sane enough. Might still be worthwhile to split out the switching to system.RpmArch & the dropping of board into separate commits so it's easier to push back in later if we decide we care about cross-compiling or running virtual on different architectures.

Fedora/RHEL are *defined* to be self hosting; which means
cross compliation is not at all the default.  See also
https://blog.verbum.org/2012/10/13/building-everything-from-source-vs-self-hosting/

The mantle code was just using Portage architecture because
of CL; unifying on the RPM architecture names as are already used
by cosa will help consolidate things.

Further, we don't need to pass a "Board" all the way down
the stack; since we don't support cross compliation there's no
reason not to just call the new global API to get it.
@cgwalters
Copy link
Member Author

Might still be worthwhile to split out the switching to system.RpmArch & the dropping of board into separate commits so it's easier to push back in later if we decide we care about cross-compiling or running virtual on different architectures.

Not entirely opposed but that's fairly tedious work, and given the rate of change here, it's highly unlikey that "reintroduce board parameter" would be anything close to git revert <board removal commit> in a month from now.

Rebased 🏄‍♂️

@jlebon
Copy link
Member

jlebon commented Mar 20, 2020

/lgtm

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: arithx, cgwalters, jlebon

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [arithx,cgwalters,jlebon]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit 2c6efb2 into coreos:master Mar 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants