Re: porting OpenRC to Debian GNU/kFreeBSD (was: Bug#727708: tech-ctte: Decide which init system to default to in Debian.)
On 10/29/2013 09:34 AM, Steven Chamberlain wrote:
> Hi,
>
> On Sun, 27 Oct 2013 02:47:56 +0800 Thomas Goirand wrote:
>> Note that OpenRC already works on some (non-Debian) BSD platforms, and
>> that it should be trivial to have it to build on kFreeBSD and Hurd,
>
> And so I came up with the attached patch which gets it building on
> GNU/kFreeBSD, and it passed whatever tests are run during build. I
> actually chose Linux implementations for most things, which are really
> provided by GNU libc or /proc.
>
> Actually quite amazing how painless that was, though I most certainly
> don't expect it to be functional yet. (For example, I expect it still
> needs to know about linprocfs, linsysfs, tmpfs and maybe devfs).
>
> I look forward to seeing OpenRC in the Debian archive. Thanks!
>
> Regards,
Hi,
Thanks a lot for this patch, it's been very helpful. I'm currently
working with upstream on #openrc on Freenode, trying to figure out how
to fix the build.
Indeed, the patch helps fixing the FTBFS, though that's not enough. It
fails to mount /run, because of a wrong (build) configuration which
makes it pick-up the Linux type of init.sh in /lib/rc/sh. I'm currently
working with upstream authors in #openrc (on Freenode) to fix this.
Feel free to join if you want.
Cheers,
Thomas Goirand (zigo)
Reply to: