New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
installation-cd: Build Graphical ISOs for aarch64 #188619
Conversation
Btw, I tested this by creating my-iso-image.nix with the following contents (based on this guide):
and then running
I then dd'd the result to an SD Card:
booted from the SD Card, and choose the graphical installer option from the boot menu. |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/arm-graphical-iso-builds/16729/3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have not tested the resulting builds, but in principle it should just work, as there's nothing special with AArch64 systems when they boot with standards-based protocols (UEFI).
Obviously in the real world it will be "YMMV", but just as much as any other distro that only supports mainline. The limitations here will be whatever works with the current LTS of Linux. (Which is also true for x86_64!)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes LGTM
anything else we need to do before merging?
Seeing an error when building the GNOME ISO.
|
FWIW I was able to build a gnome image for aarch64 using
From there, I was able to run the live image using Mac OS virtualization (i.e. https://developer.apple.com/documentation/virtualization/running_gui_linux_in_a_virtual_machine_on_a_mac) The one curious thing is that I don't think I see the installer auto-launching, which I think it does for |
Can you fix conflicts? |
Oh, sorry. Apparently I reviewed this, forgot this and then did it again myself. 🤦 |
Ahem, sorry but thank you for your PR! We can close it then. Is there any reason why we don't need the vmware/virtualbox stuff anymore? |
It does not support anything but x86-64-linux. |
Description of changes
Changed installation-graphical-base to only enable
virtualisation.vmware.guest
andservices.xe-guest-utilities
on x86. The VMWare guest module is marked as not supported on aarch64, while the xe-guest-utilities package fails to build on aarch64.With the changes in this PR, it is possible to build and boot a graphical iso on aarch64, presumably opening up the possiblity of pre-built aarch64 graphical isos from hydra. (See https://discourse.nixos.org/t/arm-graphical-iso-builds/16729)
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes