Re: Fully worked example of an S6 based system?

2016-03-01 Thread Eric Le Bihan
On Tue, Mar 01, 2016 at 12:17:24PM +0100, Jan Olszak wrote:
> This might be useful: https://github.com/elebihan/buildroot-s6/

Indeed, buildroot-s6 can be a useful example, as it will allow you to build
images for QEMU and Raspberry Pi of a Linux system where the s6 stack is used
as init system. Note that it is  based on Buildroot [1], and thus is a not
fully fledged GNU/Linux distribution.

> Especially
> https://github.com/elebihan/buildroot-s6/tree/master/buildroot/package/s6-linux-init-skeleton/files

Yes. This Buildroot package provides the start up scripts as well as some
basic services. Additional services (such as running rngd) can be found in the
"overlay" subdirectories of custom/board.

[1] https://buildroot.org

--
ELB


Re: Fully worked example of an S6 based system?

2016-03-01 Thread Jan Olszak
This might be useful: https://github.com/elebihan/buildroot-s6/

Especially
https://github.com/elebihan/buildroot-s6/tree/master/buildroot/package/s6-linux-init-skeleton/files

On Tue, Mar 1, 2016 at 4:06 AM, Jeremy Voorhis  wrote:

> I've been following the list and technology for a little while, and while I
> feel like I grasp each of the pieces individually, I would like to see an
> example of a system that uses S6 in place of init, syslog, ntpd, etc. I
> have the impression that some single purpose systems as such are in the
> wild, but the opportunity to rummage around on the root fs would be
> instructive.
>
> Thanks,
>
>
> --
> Jeremy Voorhis
>


Re: Fully worked example of an S6 based system?

2016-03-01 Thread Laurent Bercot

On 01/03/2016 04:06, Jeremy Voorhis wrote:

I've been following the list and technology for a little while, and while I
feel like I grasp each of the pieces individually, I would like to see an
example of a system that uses S6 in place of init, syslog, ntpd, etc. I
have the impression that some single purpose systems as such are in the
wild, but the opportunity to rummage around on the root fs would be
instructive.


 Have you seen
 http://linsam.homelinux.com/extra/s6-altsim/jor1k/demos/s6-rc.html ?

 It's pretty nice. The root fs is a little different than what you'd
expect because there are some jor1k quirks to work around, but it's
close.

 I'm also currently working (for a customer) on a set of scripts that builds
a complete, working, s6-based image from scratch which can be used with qemu
as well as copied on a real drive. As soon as I can share it, I will.

--
 Laurent