3 ms·
I was curious about the same, so had a look round. The main innovation in blendOS is the "blend" package manager: https://github.com/blend-os/blend https://git
by isp 4y ago
I was curious about the same, so had a look round.
The main innovation in blendOS is the "blend" package manager: https://github.com/blend-os/blend https://github.com/blend-os/blend
Under the hood, this uses "distrobox" to create containers for supported distributions: https://github.com/89luca89/distrobox https://github.com/89luca89/distrobox
Supported distributions are defined in "blend" here: https://github.com/blend-os/blend/blob/4e4bdd33d2de374cb01e46c51b2af4719aeca509/blend#L59-L64 https://github.com/blend-os/blend/blob/4e4bdd33d2de374cb01e4...
Additionally, there are wrappers for commands like "apt", which in turn call "blend", which in turn calls "distrobox": https://github.com/blend-os/blend/blob/main/pkgmanagers/apt https://github.com/blend-os/blend/blob/main/pkgmanagers/apt
In contrast, Bedrock Linux has a quite different implementation, with the most widely used strategy being based on "strata" and a FUSE filesystem "crossfs". See "How does Bedrock Linux Work?" on https://bedrocklinux.org/faq.html#how-work https://bedrocklinux.org/faq.html#how-work
- pxc 4y agoRight, Bedrock really plugs the various distros into each other in a deep way, and offers ways to do that for many components of the stack (init system, display server, network management stack, etc.) It sounds like the blendOS approach is a bit coarser but probably also safer and less likely to be surprising to non-expert users. `blend` seems like it could potentially be adapted and usefully added to almost any distro as a feature that users could enable/install if they want, whereas Bedrock Linux might be a useful upstream for more custom distros where things are more tightly integrated. Anyway it's cool to see a distro developer writing tools like this because there's a lot to learn from Linux package managers, but there's also a lot of space between the state of the art and what's in common use. Writing tools like this might be the kind of practice one needs for putting together something next-gen which incorporates the state of the art but suits mainstream tasted and benefits from hindsight.