Re: [announce] buildroot-s6 0.2.0

From: Alex Suykov <alex.suykov_at_gmail.com>
Date: Fri, 13 Nov 2015 01:24:59 +0200

Thu, Nov 12, 2015 at 09:29:37PM +0100, Eric Le Bihan wrote:

> Comments welcomed!

depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL looks really
strange, uClibc is typically the least problematic libc.

I can definitely build it with a uclibc toolchain, all it needs is -lrt
in skalibs configure when testing for posix_spawn* and later whenever -lskalibs
is used.

It does not work though. What I have so far is this:

    execve("/usr/sbin/s6-echo", ["s6-echo", "--", "Starting system."], ...)
    execve("s6-echo", ["s6-echo", "--", "Starting system."], ...)
    execve("s6-echo", ["s6-echo", "--", "Starting system."], ...)
    execve("s6-echo", ["s6-echo", "--", "Starting system."], ...)
    execve("s6-echo", ["s6-echo", "--", "Starting system."], ...)
    ...

and it keeps repeating that execve in an infinite loop.

That's execline running /sbin/init.
The first if and the first occurence of a { } block in that script.
Strange, but I did not look further into this yet.

> buildroot-s6 is a sandbox to play with the s6 stack and see how it could be
> integrated into the official Buildroot. It is still a work-in-progress.

The worst part will be dealing with per-package service files.
I did try doing similar thing. Ended up with all my stuff in BR2_EXTERNAL,
this way it's much easier to keep Buildroot proper up to date.
Received on Thu Nov 12 2015 - 23:24:59 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC