mirror of
https://github.com/clearlinux/rkt.git
synced 2026-08-23 07:45:56 +00:00
5774390b2d
This refactor will make it easier to integrate lkvm support, and also brings other benefits. Specifically, with this refactor almost all functionality of stage1 init is flavor independent and can be fully controlled via a manifest and uses as little hard coded paths as possible. Thus, e.g. distribution packagers, can create package which will only have rkt/stage1 provided binaries (gc, waiter, init, etc.) and specify the rest of things in the manifest (path to nspawn, ld.so, LD LIBRARY PATH, libfakesdbooted.so, etc). And create fully free-standing stage1.aci by simply creating basic distribution chroot with distro-native tools and supplying a matching/correct aci-manifest. By fully free-standing, I mean similar to current coreos flavor, which is completely independent of the host OS binaries & load paths and is truly run everywhere. Many of these refactors will be useful for future lkvm integration, e.g. reusing ld.so load paths and similar.