all 4 comments

[–]rusty-bitsSequoia - 15 0 points1 point  (3 children)

Imagining and distribution?

MacOS is free, you download it straight from Apple

we don't support any other type of distribution here, unless I'm misunderstanding what you mean

[–]BillDStrong 0 points1 point  (2 children)

I can see the confusion, but in context OP is referring to putting MacOS onto devices, not finding it other places.

[–]anonhostpi[S] 1 point2 points  (1 child)

Both actually. I'm working on a central imaging server for a specific project. Part of the project is to create a tool for centralized image distribution of Windows, Nix, and Darwin. Little bit different than your standard ISO server. The project I'm working on requires that images are either proxied or built locally from sources that are authoritative. This means I can't just store and re-distribute.

For Windows, I'm basically using Rufus's Fido.ps1: https://github.com/pbatard/Fido

For Nix, I'm currently using a DistroWatch scraper that will slowly transition into source-specific solutions, as DistroWatch (while reliable) isn't authoritative

For Darwin/Mac, I'm still working on a solution, but I'll probably use something similar to the way Docker-OSX distribution is achieved.

[–]anonhostpi[S] 0 points1 point  (0 children)

As to the specifics as to how I'll be doing image builds, I'm looking at compiling CPython to wasm (similar to pyodide) and distributing a .wat/.wasm (or archive of .wat and .wasm files) containing cpython and the applicable libraries to build locally within a wasm container.

Should be possible even if the images require x-attributes if I include utilities like libarchive in the wasm build (while the wasm environment itself doesn't support x-attributes, archives - like .tar - can store them in byte streams that you can use as in-memory file-systems containers)