Skip to content

init: Add s6 as init system

Vadim Kochan buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Changes in v1 from the cover letter

1) Changed s6-rc compiled path to /etc/s6/rc/compiled-init, added patch which allows to use this path as default.

2) Select s6-rc package if s6 init is choosen.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3package/s6-linux-init: Build also for the hostpackage/s6-linux-init/s6-linux-init.mk+28 -11 reply
1/3package/s6-linux-init: Build also for the host+0 -00 replies
2/3package/s6-linux-init: Allow to install as init systempackage/s6-linux-init/s6-linux-init.mk system/Config.in+47 -21 reply
2/3package/s6-linux-init: Allow to install as init system+0 -00 replies
3/3package/s6-rc: Allow to integrate s6-rc servicespackage/s6-rc/0001-configure-Allow-to-specify-compiled-base-dir.patch package/s6-rc/rc.init package/s6-rc/rc.shutdown +2 more+117 -05 replies
3/3package/s6-rc: Allow to integrate s6-rc services+0 -00 replies
3/3package/s6-rc: Allow to integrate s6-rc services+0 -00 replies
3/3package/s6-rc: Allow to integrate s6-rc services+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/3] init: Add s6 as init system

Add new system init support (BR2_INIT_S6) based on s6 suite. This is very-very basic support which does not have any setup automation logic (but only getty) but it allows to install custom s6-rc services in a bit easier way by the board. All s6-rc services which were copied by rootfs-overlay or post-build will be compiled as s6-rc db into /etc/s6/rc/compiled-initial, which also has /etc/s6/rc/compiled link to easy replace it in runtime.

In case if such kind of change will be merged, then may be it would be good to think about of some packages integration into s6-rc system.

v1:
1) Changed s6-rc compiled path to /etc/s6/rc/compiled-init, added patch which allows to use this path as default.

2) Select s6-rc package if s6 init is choosen.

Vadim Kochan (3):
package/s6-linux-init: Build also for the host package/s6-linux-init: Allow to install as init system package/s6-rc: Allow to integrate s6-rc services

 package/s6-linux-init/s6-linux-init.mk             | 69 +++++++++++++++++++-
 ...figure-Allow-to-specify-compiled-base-dir.patch | 76 ++++++++++++++++++++++
 package/s6-rc/rc.init                              |  4 ++
 package/s6-rc/rc.shutdown                          |  3 +
 package/s6-rc/s6-rc.mk                             | 33 ++++++++++
 system/Config.in                                   |  9 ++-
 6 files changed, 191 insertions(+), 3 deletions(-)
 create mode 100644 package/s6-rc/0001-configure-Allow-to-specify-compiled-base-dir.patch
 create mode 100644 package/s6-rc/rc.init
 create mode 100644 package/s6-rc/rc.shutdown
Signature · 1 line
2.14.1