the_lanetly_052__ has quit [Ping timeout: 480 seconds]
doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<marcan>
Manouchehri: how would that work? the installer runs on macOS, it's not trivial to do it from there
<marcan>
we need a userspace implementation of dm-crypt (e.g. in python) and then we need to ship an initramfs for it, and a that point we need to tweak system configs so that means a userspace ext4 implementation too
<marcan>
I'm all for it if it's done properly, but it's not done yet because it's not that easy to do properly :)
<Manouchehri>
so to be clear I'm not proposing this for real: why not run parts of the installer with Virtualization.framework?
<sven>
:D
<marcan>
the installer has to work in recoveryOS, for one
nsklaus_ has joined #asahi-dev
<marcan>
(this is a hard requirement - recoveryOS is the only way to install that does not require phoning home to Apple, and that option must be available)
<Manouchehri>
I also didn't know it was possible to run Asahi totally offline without ever connecting to the internet.
<marcan>
it is
<Manouchehri>
I thought there'd be some activation lock
<Manouchehri>
so brand new from the apple store, never needs to be online?
<marcan>
not for brand new machines - there's an activation lock if you need to DFU wipe a machine
alyssa has left #asahi-dev [#asahi-dev]
<marcan>
but once a machine is unlocked, which includes out of the box, it has the certificate that says so
<marcan>
as long as those keys are not lost or rolled over, the lock does not trigger
<Manouchehri>
sorry, by "out of the box", do you mean connected once with a brand new machine?
<marcan>
I mean a brand new machine
<marcan>
brand new machines boot straight into the macos firstrun stuff, which does not require an internet connection. you can set it up fully offline.
<Manouchehri>
ooooh my bad. I read your first message "not for brand new machines" as the other way around.
<Manouchehri>
niiiice
<marcan>
fresh DFU'd machines do too, the DFU step itself has the phone home
<marcan>
if that partt of the DFU stuff fails (I saw that due to a idevicerecovery bug), then you get the failed boot into the activation lock stuff instead
<marcan>
but yes, you can put Asahi on a brand new machine without ever phoning home, at least if it's already new enough (if you need to update in principle that can also work without phoning home, but I wouldn't be surprised if that process is annoying and doesn't always work since it's not the usual flow)
<marcan>
(but it *should* work)
nsklaus has quit [Ping timeout: 480 seconds]
<marcan>
eventually I want to add an option to the installer that sets up a bootable USB installer for you, with all the Apple bits already included, which you can then use to install Asahi completely offline
<Manouchehri>
does qemu work in recoveryOS lol?
<marcan>
in emulation mode, probably? :)
<Manouchehri>
tempting
<marcan>
we can't pass through the whole physical disk though
<marcan>
so it would be a bit awkward passing single partitions
<marcan>
but it could work
<marcan>
but really, it probably makes more sense to just have userspace dmcrypt/ext4 in there
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
doggkruse has joined #asahi-dev
bisko has quit [Read error: Connection reset by peer]
bisko has joined #asahi-dev
MajorBiscuit has joined #asahi-dev
skipwich has quit [Remote host closed the connection]
skipwich has joined #asahi-dev
___nick___ has quit [Ping timeout: 480 seconds]
mini0n has joined #asahi-dev
nullroute has joined #asahi-dev
bisko has quit [Read error: Connection reset by peer]
bisko has joined #asahi-dev
mini0n has quit [Quit: Leaving]
MajorBiscuit has quit [Quit: WeeChat 3.5]
c10l has quit [Quit: Bye o/]
c10l has joined #asahi-dev
kasey_reed has quit [Ping timeout: 480 seconds]
amarioguy has quit [Remote host closed the connection]
bisko has quit [Read error: Connection reset by peer]