-
Notifications
You must be signed in to change notification settings - Fork 196
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
base: master
Are you sure you want to change the base?
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 |
@dkwo @classabbyamp I've built a rudimentary installer based on the official Asahi installer here: https://gitlab.com/slimjimsoftware/vai - this should allow you install Void from a macOS terminal with |
Great! In the past @ZerdoX-x was asking for a simple way to install, maybe this can help. |
Yep, thank you. I've subscribed to this PR long time ago and waiting for updates :) BTW I've moved to gentoo and compile all stuff locally. |
what do you mean? void builds binary packages for aarch64... |
oof. my bad! then i can consider this a good alternative for me. i'll keep an eye on void then ;) |
Hi @dkwo, can I ask you something about the Wi-Fi setup? I'm running void linux on my m2 pro macbook and I have a trouble connecting wifi. I ran |
wifi works fine for me, at least on m1 series. |
There is no |
hmm, which initram are you using? |
That folder is necessary, otherwise no wifi, possibly other stuff too.. |
Maybe I should try to re-install it, could you sent me the link to the necessary folder? |
Here's the PR: void-linux/void-packages#39796 |
I got a build error when building
edited: In the 3rd attempt, I instead run |
Perhaps look a bit at Void's instructions, you may have to clean your masterdir etc, but In fact, if you have already Void running on that machine, it may be enough to just build updated versions of the packages (like asahi-base, the linux-asahi, m1n1) and install them, together with an initram, say dracut: this should be enough to trigger the regeneration of initram, and the creation of /lib/firmware/vendor |
Thank you! now, I'm able to generate the |
No: as in my first post or in the docs https://docs.voidlinux.org/installation/live-images/prep.html you should |
Simplified and tested again today. It still works. |
Also, I had to explicitly add lzfse package, otherwise xbps-install fails even though it's available locally and a dependency of asahi-scripts. |
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.