Re: [DNG] ..another viable basis idea for Devuan as a hypervisor?, was: Announce: FlyingTux project

2022-01-04 Thread Enrico Weigelt, metux IT consult

On 05.08.21 12:55, Arnt Karlsen wrote:

Hi folks,


sorry for being too busy for replying so long ...


It's an build/runtime infrastructure for running desktop and mobile
applications in containers and build an entirely container-based
mobile OS based on it.


..I like the https://www.qubes-os.org/ approach, but not
their use of systemd nor of rpm.
Do we do something similar here?


the only similarity between the two is that applications are sandboxed
(and it linux-based, of course).

FT uses containers, instead of VMs.

The general idea is making application containers as small as possible.
For that, we don't use fixed images (like class docker), but deploy
from package management, just the actually needed packages (eg. don't
wanna have dozens of useless gl drivers).


The primary motivation is my long frustration about the monstreaus and
practically unmaintainable Android, which also still lacks lots of
common management abilities we know from the GNU/Linux world.


.."wonder why Google designed it that way." ;oD


maybe for making it as complicated as possible, so opensource looses
its primary value ? ;-P


In some ways, FT can be seen as an conceptional combination of
containers (docker, k8s, etc) and apps (android, etc). One major
difference is that also the app images are based on some defined
distro base (for start, just alpine, others to follow later) and the
images are created on the host, based on host specific settings like
hw setups (eg. automatically deploys the right mesa drivers). In
future steps some packages of the app distro base (called 'osbase#
here) will be replaced or customized, in order to provide better
integration with the ecosystem and strip unneeded stuff.


..which means an early step will be trim down the basic (net-install?)
images we have, as far down as possible, and build app, vm etc images
upon those stripped down base images.


actually, a bit more low level: we use a (almost) standard distro and
install just the really needed packages.

For now, just implemented apk backend, since alpine is the smallest
ready-to-use package based distro I'm aware of. (haven't tried, but
deb probably would be much bigger).


I guess we also want a bare bare metal hypervisor of some sort. ;o)


That's not planned (yet). I've got several use cases (or installation
types) in mind:

a) ontop of classic linux distro: use it similar to snap etc
b) as a pure os for larger devices
c) as a pure os for small mobile devies

For case b we'd have a really minimal base distro, just what's needed
to bring up a console or graphical display.

For case c we'd have a device-customized base distro (at least we'd
need customized bootloader and kernel)


..this means we can set up e.g. chromium in throw-away-after-use
containers?  Or stick new stuff with lib conflicts in containers?
Etc?


Yes, that's one of the use cases (category a).


..I see no .deb package?  Pretty soon we'll need debug packages
to shake out bugs.


It's not packaged yet - too early, needs more time to mature bevor
packaging makes sense. Just clone the git repo and run it from there.


--mtx

--
---
Hinweis: unverschlüsselte E-Mails können leicht abgehört und manipuliert
werden ! Für eine vertrauliche Kommunikation senden Sie bitte ihren
GPG/PGP-Schlüssel zu.
---
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net -- +49-151-27565287
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] ..another viable basis idea for Devuan as a hypervisor?, was: Announce: FlyingTux project

2021-08-05 Thread Arnt Karlsen
On Fri, 30 Jul 2021 14:49:32 +0200, metux IT consult wrote in message 
:

> Hello folks,
> 
> 
> maybe a bit offtopic, 

..I disagree. ;o)

> but allow me to announce the FlyingTux project:

..welcome onboard DNG. :o)

> It's an build/runtime infrastructure for running desktop and mobile
> applications in containers and build an entirely container-based
> mobile OS based on it.

..I like the https://www.qubes-os.org/ approach, but not 
their use of systemd nor of rpm.  
Do we do something similar here?

> The primary motivation is my long frustration about the monstreaus and
> practically unmaintainable Android, which also still lacks lots of
> common management abilities we know from the GNU/Linux world.

.."wonder why Google designed it that way." ;oD

> In some ways, FT can be seen as an conceptional combination of
> containers (docker, k8s, etc) and apps (android, etc). One major
> difference is that also the app images are based on some defined
> distro base (for start, just alpine, others to follow later) and the
> images are created on the host, based on host specific settings like
> hw setups (eg. automatically deploys the right mesa drivers). In
> future steps some packages of the app distro base (called 'osbase#
> here) will be replaced or customized, in order to provide better
> integration with the ecosystem and strip unneeded stuff.

..which means an early step will be trim down the basic (net-install?)
images we have, as far down as possible, and build app, vm etc images 
upon those stripped down base images.  
I guess we also want a bare bare metal hypervisor of some sort. ;o)

> Another key difference is moving common functionality (eg. various
> data sources, communication protocols, ...) out of the individual
> apps into generic services - and the binding between individual apps
> and actual services instances can be customized by the user (e.g. one
> can bind some apps to fake gps instead of the real one, separate
> address books or user directories, etc, etc).
> 
> Here's a more detailed description:
> 
> https://github.com/metux/flyingtux/blob/master/README

..this means we can set up e.g. chromium in throw-away-after-use
containers?  Or stick new stuff with lib conflicts in containers?
Etc? 

> Note that for now its very experimental and fast changing. Don't
> expect anything field-ready yet. But it's already good enought to
> isolate some common desktop apps like gimp, chrome, etc.

..I see no .deb package?  Pretty soon we'll need debug packages 
to shake out bugs.

-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng