don't set /usr/bin/env in FAKECHROOT_CMD_SUBST
This commit is contained in:
parent
7a25de31db
commit
3c48bce2b2
1 changed files with 2 additions and 1 deletions
|
@ -867,9 +867,10 @@ sub setup {
|
||||||
print_progress "done";
|
print_progress "done";
|
||||||
|
|
||||||
if ($options->{mode} eq 'fakechroot') {
|
if ($options->{mode} eq 'fakechroot') {
|
||||||
|
# FIXME: if trouble arises, look into /etc/fakechroot/*.env for
|
||||||
|
# more interesting variables to set
|
||||||
$ENV{FAKECHROOT_CMD_SUBST} = join ':', (
|
$ENV{FAKECHROOT_CMD_SUBST} = join ':', (
|
||||||
'/bin/mount=/bin/true',
|
'/bin/mount=/bin/true',
|
||||||
'/usr/bin/env=/usr/bin/env.fakechroot',
|
|
||||||
'/usr/bin/ldd=/usr/bin/ldd.fakechroot',
|
'/usr/bin/ldd=/usr/bin/ldd.fakechroot',
|
||||||
'/usr/bin/mkfifo=/bin/true',
|
'/usr/bin/mkfifo=/bin/true',
|
||||||
'/usr/sbin/ldconfig=/bin/true',
|
'/usr/sbin/ldconfig=/bin/true',
|
||||||
|
|
Loading…
Reference in a new issue