#asahi · 2022-02-22 17:33
marcanthere is nothing to be changed there#asahi · 2022-02-22 17:33
marcangrub configuration is in ext4 and not writable for the installer, but it doesn't need to be#asahi · 2022-02-22 17:24
marcankit_ty_kate: it's an ext4 partition image (well, it will be)#asahi · 2022-02-22 16:04
marcanthat's why there's a "just give me the bootloader" option#asahi · 2022-02-22 15:55
marcanI wrote the code to do all the EFI partition stuff in the installer during the stream I just finished#asahi · 2022-02-22 15:55
marcanso you can compare that to find out if it changed#asahi · 2022-02-22 15:54
marcanthat's why I wrote the whole manifest thing#asahi · 2022-02-22 15:54
marcankit_ty_kate: then yes, the plan was always to put the firmware in the EFI partition and have the distro copy/upgrade it on every boot (so we can handle stub/firmware upgrades)#asahi · 2022-02-22 15:35
marcanhttps://mrcn.st/p/4wuJXyRX#asahi · 2022-02-22 15:34
marcanyes, I wrote a cleanup script during today's stream#asahi · 2022-02-22 15:34
marcaninstalling n OSes is O(n²) time the way this is designed#asahi · 2022-02-22 15:34
marcanand the more junk boot policies you have left over, the slower it gets#asahi · 2022-02-22 15:34
marcanand resigning all boot policies#asahi · 2022-02-22 15:34
marcanit's talking to SEP#asahi · 2022-02-22 15:33
marcanI'll do that once I plumb in the sparse ipsw stuff#asahi · 2022-02-22 15:33
marcanhaven't actually tested it 100% offline but it *should* work#asahi · 2022-02-22 15:33
marcanthe installer already switches to reduced security to avoid any phone home calls#asahi · 2022-02-22 15:33
marcanno#asahi · 2022-02-22 15:33
marcanyou mean phone home?#asahi · 2022-02-22 15:32
marcanas of today the installer already supports loading the ipsw from a local path instead of the internet#asahi · 2022-02-22 15:32
marcanmy thought is I'll make the installer have a "prepare offline install" mode where it downloads the needed bits to make a reduced ipsw#asahi · 2022-02-22 15:31
marcankit_ty_kate: it is 1GB+ of nonredistributable stuff you have to download from apple#asahi · 2022-02-22 15:31
marcanalso it's "ipsw"#asahi · 2022-02-22 15:30
marcanincluding the entire macOS recovery environment#asahi · 2022-02-22 15:30
marcanit is about the whole stub OS#asahi · 2022-02-22 15:30
marcanGlanzmann: it is not just about the firmware#asahi · 2022-02-22 12:44
marcanalso that's not Glanzmann's solution, that's my solution :p#asahi · 2022-02-22 12:43
marcankit_ty_kate: no, because of the stub OS#asahi · 2022-02-22 09:43
marcanstreaming installer stuff in a bit#asahi · 2022-02-22 08:36
marcanwe also get the power button that way#asahi · 2022-02-22 08:36
marcanfor the lid I was already planning a macsmc-hid thing, should be really easy to do#asahi · 2022-02-22 08:35
marcankettenis: sure, while DCP isn't there#asahi · 2022-02-22 05:32
marcanfeel free to dig around into it but I can't promise anything right now#asahi · 2022-02-22 05:32
marcanmaybe on the 10G one, but that NIC is very unexplored so far#asahi · 2022-02-22 05:32
marcanI doubt WOL would work on cold power-up on the regular 1G Mini#asahi · 2022-02-22 05:32
marcan(there is AC restore but not always power)#asahi · 2022-02-22 05:31
marcanalso, I haven't found a way to make the machines always power up on AC application, which means that if you ever do a clean shutdown, you're toast#asahi · 2022-02-22 05:30
marcanthe Mac Mini 10G supposedly has LOM, but none of that has been reverse engineered yet#asahi · 2022-02-22 05:30
marcanzv: I would not recommend that set up. you'd need a USB-PD interface to be able to reset the device if it wedges. a rPi won't give you that.#asahi · 2022-02-22 04:42
marcanbut for simple resize2fs cases it would be helpful if the installer just does it ahead of time#asahi · 2022-02-22 04:41
marcanand then the distro, on first boot, will resize the *filesystem* (and whatever volume management layers it uses under it) to fit the partition size#asahi · 2022-02-22 04:41
marcanchadmed: as a "general purpose" plan, my idea is that the installer will create the *partition* with as much space as the user requests#asahi · 2022-02-22 04:40
marcankit_ty_kate: I'm interested in the resize2fs build for macos though#asahi · 2022-02-22 04:40
marcanthat would fetch the IPSW subset it needs, and re-pack it into a zip file containing only those bits for use by the installer#asahi · 2022-02-22 04:40
marcanwhich is required anyway, since a true standalone installer is not redistributable#asahi · 2022-02-22 04:40
marcankit_ty_kate: btw, my idea for the future is that if you run the asahi installer from Linux, it'll prompt you to make a USB install instead#asahi · 2022-02-22 04:27
marcanI even intend to stream the partition image directly to disk so we can avoid requiring temp storage anywhere#asahi · 2022-02-22 04:27
marcaneverything else can be done ahead of time#asahi · 2022-02-22 04:27
marcanthe only thing step2 *has* to do is bputil/kmutil m1n1 in, because that is gated on paired recovery#asahi · 2022-02-22 04:27
marcan(streaming shortly)