-
Notifications
You must be signed in to change notification settings - Fork 197
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
add asahi to image builder #281
Conversation
I wish I had access to an M1 to test this. |
After doing
it can boot the void kernel :) |
77a6380
to
e66d7b3
Compare
While support packages are still in PR, is there a simple way to install them by modifying |
yes, use the -r flag of mkplatformfs to point it at hostdir/binpkgs/[branch] |
@classabbyamp I've done that (see my fist comment), now I'm trying to install them from the booted image into the chroot. Did I miss something? |
oh, for that you'll need to sign the packages and serve them with an http server probably |
This now works in conjunction with void-linux/void-packages#39796 |
Simple solution for the local repo, as suggested by @Duncaen on reddit in the past:
|
@dkwo Hi! Thank you for your work. How can I DM you? |
@ZerdoX-x I don't use irc much. All I did is documented in this PR, and the two linked ones. You can ask or report here if you encounter any issues. |
I just wanted to know if it is possible to install void linux on M1. I installed the default Asahi linux and cannot handle it due to systemd, literally bullshit. But I don't have much technical experience manually installing a custom distro on Asahi without clear instructions from anyone who already did this. |
It is possible, but at the moment you'd have to build things yourself,
since the relevant PRs have not yet been merged into Void's repo.
For this, you may need to gain some familiarity with how Void works,
as well as read Asahi documentation.
Otherwise, you can wait until things are more mature.
|
e531c89
to
2fd75a6
Compare
idk how asahi install process works but i have something for live isos on arm in the works (it isn't ready for testing, please don't go looking for it to try yet) |
Got it. The first step is done from mac os, the rest is written in my first post here. |
i mean live iso in the x86 style, with an overlayfs root and such |
Both issues addressed. |
added live iso support, kinda tested it (as in it builds an image, I don't have the hardware to test) it did spit out this error during build, which might be good to look into (kconfig fix?):
please build and test a proper live iso, they're much better/more ergonomic than
|
also, the current asahi modules path doesn't include the |
Thanks! I tested I noticed that the hook in asahi-base likely runs too early, when the whole /var/service folder is not found, and so the speakersafetyd service not enabled. This works fine on a normal system, as I checked, but not in the installer. |
There's no ahci module, because that stuff is turned off in kconfig. |
then some adjustments to mkiso should be made for that
the hook for enabling services should be symlinking to /etc/runit/runsvdir/default not /var/service
flash drives don't use nvme... turn it on |
modules path fixed and ahci added at void-linux/void-packages#53976 |
i think that might work for mesa/mesa-asahi |
The mesa-asahi should come before xorg stuff, then dependency work fine. |
Btw, do you want to add asahi-audio to the pipewire stage? |
yes, that should be done |
Btw, tested again the musl xfce and it works (of course xorg is not really supported by upstream asahi, so it is what it is). |
audio added. |
don't think that will work because ARCH gets redefined before setup_pipewire is run. we should probably have a "raw" arch var that ARCH gets set to if not otherwise set |
You're right. Now it's hacky but it works. |
this should be a little less hacky, pls try |
This installs asahi-audio for every aarch64 (not just asahi), not sure this is optimal. Also, asahi-base (even after the most recent update) still fails at creating the symlink (no file or directory). Any ideas? It works on my system, but not in the mkiso. A small nitpick: when you mkiso asahi, the last step is numbered as 12/11. |
oh whoops, the case should be
|
pls give one last test, squashed |
it works
|
Based on void-linux/void-packages#39796 and tested.
Boots from an external drive via UEFI, after using Asahi Linux install script with "UEFI environment only".
See the docs pr for details.