Gentoo Archives: gentoo-dev

From: Roy Marples <roy@×××××××.name>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Google SOC 2008
Date: Wed, 27 Feb 2008 21:04:34
Message-Id: 200802272104.30789.roy@marples.name
In Reply to: Re: [gentoo-dev] Google SOC 2008 by Fabian Groffen
1 On Wednesday 27 February 2008 14:21:58 Fabian Groffen wrote:
2 > On 27-02-2008 13:56:51 +0000, Roy Marples wrote:
3 > > On Wed, 27 Feb 2008 13:29:15 +0100, Fabian Groffen <grobian@g.o>
4 > >
5 > > wrote:
6 > > > Well... that's great! But a jail or a (ch)root is in general not the
7 > > > same as a "prefix".
8 > >
9 > > No, but it's the same kettle of fish as chroots, jails and vps systems -
10 > > basically
11 > > there is a need to disable dependencies that provide what the host
12 > > already does.
13 >
14 > Ok, the host will for instance do "net", so "need net" should indeed not
15 > fail. However I could imagine that "need net" would just get satisfied
16 > or something, like by a dummy.
17
18 Correct. lu_zero wanted OpenRC to work out of the box in a vanilla fbsd jail,
19 hence the keyword instead of dummy scripts.
20
21 > > If OpenRC compiles and /bin/sh points to a POSIX shell it should work as
22 > > it stands.
23 >
24 > Ok, then we already fail here.
25 > /bin/sh is no way POSIX, it is just bourne, so that's where we come in
26 > and simply use /usr/bin/env {sh,bash,posix-sh} or a full path to make
27 > your assumption true.
28
29 make SH=/usr/local/bin/bash
30 now tweaks all the scripts accordingly.
31
32 Thanks
33
34 Roy
35 --
36 gentoo-dev@l.g.o mailing list