fix(openbios): restore aarch64 builds#18020
Open
christopherco wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Backports OpenBIOS’s upstream host-width fix, enabling builds on aarch64 and riscv64 without pointer truncation.
Changes:
- Applies the verified upstream patch and removes the x86_64 restriction.
- Adds an Azure Linux release counter.
- Updates generated specs and lock fingerprint.
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
base/comps/openbios/openbios.comp.toml |
Defines patch and release overlays. |
base/comps/openbios/0001-*.patch |
Contains the upstream host-width fix. |
specs/o/openbios/openbios.spec |
Renders patch application and release changes. |
specs/o/openbios/0001-*.patch |
Rendered patch copy. |
specs/o/openbios/openbios.azl.macros |
Defines azl_release. |
locks/openbios.lock |
Refreshes the component fingerprint. |
christopherco
marked this pull request as ready for review
July 16, 2026 05:14
Collaborator
Author
|
/azp run |
|
Azure Pipelines: 3 pipeline(s) were filtered out due to trigger conditions. |
tobiasb-ms
approved these changes
Jul 16, 2026
| type = "spec-add-tag" | ||
| tag = "ExclusiveArch" | ||
| value = "x86_64" | ||
| description = "Apply the OpenBIOS host bit-width detection patch" |
Contributor
There was a problem hiding this comment.
suggestion(non-blocking): I would prefer using a spec-search-replace to change %setup to %autosetup so we don't have to remember to do these manual patches in the future.
Definitely non-blocking though.
Collaborator
Author
There was a problem hiding this comment.
Yes, this is a good suggestion. Will work on this and update the PR
Collaborator
Author
There was a problem hiding this comment.
Updated to use %autosetup
Backport upstream host bit-width detection to prevent forthstrap pointer truncation on aarch64 and riscv64 builders. Remove the x86_64-only workaround, use %autosetup, and track the rebuild with azl_release. Upstream: openbios/openbios@e5ac46d Signed-off-by: Chris Co <chrco@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 9541217f-798b-4299-8cd3-28fcb054e4eb
christopherco
force-pushed
the
chrco/undo-openbios-workaround
branch
from
July 17, 2026 05:06
f023d56 to
deec981
Compare
Collaborator
Author
|
/azp run |
|
Azure Pipelines: 3 pipeline(s) were filtered out due to trigger conditions. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport upstream host bit-width detection to prevent forthstrap pointer
truncation on aarch64 and riscv64 builders. Remove the x86_64-only
workaround, use %autosetup, and track the rebuild with azl_release.
Upstream: openbios/openbios@e5ac46d
Reference: openbios/openbios#25
Fixes: AB#22404
Copilot-Session: 9541217f-798b-4299-8cd3-28fcb054e4eb