I assume it doesn’t, but thought I’d ask.
I really like the principles behind both gentoo and flatpak, but right now I can only do the gentoo way or the flatpak way (and I’ve opted for gentoo’s for now).
What I’d love to have from flatpak:
- container like sandboxing and isolation
- customizable sandboxing and permissions
What I’d love to have from gentoo:
- powerful build system building packages from source
- global declarative management of compilation options
- easy patches
- easy to add packages that aren’t in repos
- support for many architectures or setups
How about not changing at all your regular packages,and containerizing what you want, or as much as possible through current profiles, through firejail? And couplet that with MAC protection offered by apparmor (one can actually set firejail to always use apparmor, and then tweak particular apps not to use it if it’s too troublesome).
This way you have your provided distro packages (gentoo or sourcemage if source based distros, it doesn’t matter), and have them execute containerized. The only thing is that there are not firejail profiles for every possible piece of SW, but the vanilla list of containers is not small either.