Piotr,
I've rebased this patch to the latest version of fakechroot from SVN.
I wonder if you'd consider it? It passes all tests, and we now use it
extensively in libguestfs[1] & febootstrap[2].
Original description:
On Mon, Mar 30, 2009 at 06:54:43PM +0100, Richard W.M. Jones wrote:
Here's a patch that adds support for FAKECHROOT_CMD_SUBST. We
use it
like this:
FAKECHROOT_CMD_SUBST=/sbin/ldconfig=/bin/true fakechroot ...
The substituted command runs outside the chroot, so in the above case
it's running the system /bin/true.
Also includes an extra test and documentation.
Signed-off-by: Richard W.M. Jones <rjones(a)redhat.com>
Rich.
[1]
http://et.redhat.com/~rjones/libguestfs/
[2]
http://et.redhat.com/~rjones/febootstrap/
--
Richard Jones, Emerging Technologies, Red Hat
http://et.redhat.com/~rjones
Read my programming blog:
http://rwmj.wordpress.com
Fedora now supports 75 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora