Re: porting OpenRC to Debian GNU/kFreeBSD
On 10/30/2013 01:38 PM, Thomas Goirand wrote:
> 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.
I'm very happy to tell everyone that this is *FIXED* !!!
http://youtu.be/zoNoi8BgQjs
:D :D :D
Thomas Goirand (zigo)
Reply to: