Add Raspberry Pi OS rootfs creation#8245
Merged
wfurt merged 3 commits intodotnet:mainfrom Dec 7, 2021
Merged
Conversation
debootstrap will try to authenticate Debian-based repos against a locally installed Debian archive keyring, or Ubuntu-based repos against a locally installed Ubuntu archive keyring. If there's no keyring packages installed (as is the case in our CI) then the repos are blindly accepted without auth. However, if you have a keyring installed and use a "weird" repo which doesn't work with the expected default keyring (e.g. out of the box it'll try to authenticate the Raspbery Pi OS repo against the Debian keyring file) it fails. So, for our Rasbian case, a) specify the path to the known-good Raspbian archive keyring file and b) add a check where if a keyring is specified but does not exist, drop it. This allows building the Raspbian rootfs both locally on systems with debian-archive-keyring and in CI with no keyrings available. We should consider forcing keyring validation in general though, for better build integrity as a whole.
akoeplinger
approved these changes
Dec 6, 2021
Contributor
Author
|
Is there a process here, or should I smash the merge button? |
1 task
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.
Raspberry Pi OS is the standard OS for use on Raspberry Pi single board computers. Primarily, it's a Debian distribution rebuilt to target ARMv6+VFPv2 instead of Debian's ARMv7+VFPv3-D16, to match the first-gen Raspberry Pi's Broadcom BCM2835 SoC.
Building anything (i.e. Hello World) using an ARMv7 crossrootfs will result in a SIGSEGV when executed on BCM2835.
Ref. dotnet/runtime#7764