aarch64 live iso support#384
Merged
classabbyamp merged 13 commits intovoid-linux:masterfrom Jan 1, 2025
Merged
Conversation
This was referenced Nov 5, 2024
d90ec88 to
959479e
Compare
this can be used to define special platform-specific support things, like extra packages, a device tree, and cmdline. This allows creating live isos that support generic arm64 UEFI as well as ones that require special care (like the x13s)
recent qemu updates mean we don't need to hardcode the binfmts, as they are shipped as files generated by qemu, importable by update-binfmts. ref: void-linux#386
but don't use it for everything, as some things seem a bit broken with mklive specifically closes: void-linux#322
aarch64 is full of special cases that void-installer doesn't know about, especially for real platforms. Users should just do chroot installs for now.
also simplify environment prep and fix qemu dependencies the matrix should ensure we never run out of space while building unfortunately, github limits us to 10 inputs so we can't add a selector for live iso platforms
0d38815 to
bc74f06
Compare
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.
aarch64 test images: https://devspace.voidlinux.org/abby/aarch64-live/
build-x86-images: rename to mkiso
this name is no longer accurate, so let's make it a bit more descriptive
mklive, mkiso: support aarch64
adds support for building aarch64 isos, and for cross-building
mklive, grub: add support for "platforms" in live isos
this can be used to define special platform-specific support things, like extra packages, a device tree, and cmdline. This allows creating live isos that support generic arm64 UEFI as well as ones that require special care (like the x13s).
Each platform is defined in
platforms/and currently can add additional packages, set a dtb to use (which is then copied from the rootfs during build), and/or add kernel cmdline argumentsThis change has no effect on x86_64 and i686.
TODO
lib.shbinfmt handling instead of relying on the host already having binfmts registered (and probably refactor that a bit to use the existing binfmt definitions)lib.sh)closes: #105