summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-08-03 07:04:47 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-08-03 07:04:47 +0000
commitc0c80ad4d0c852bfb514683318029914ade1cbe1 (patch)
tree953e4b0c0e2b75639e57a573acf7cd5d21065d49 /tools
parent3c34346006927456258cd283645ce53ed42a4827 (diff)
downloaddrakx-c0c80ad4d0c852bfb514683318029914ade1cbe1.tar
drakx-c0c80ad4d0c852bfb514683318029914ade1cbe1.tar.gz
drakx-c0c80ad4d0c852bfb514683318029914ade1cbe1.tar.bz2
drakx-c0c80ad4d0c852bfb514683318029914ade1cbe1.tar.xz
drakx-c0c80ad4d0c852bfb514683318029914ade1cbe1.zip
make it work on x86_64 too
Diffstat (limited to 'tools')
-rw-r--r--tools/drakx-in-chroot2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/drakx-in-chroot b/tools/drakx-in-chroot
index 094cecda4..83d1b381b 100644
--- a/tools/drakx-in-chroot
+++ b/tools/drakx-in-chroot
@@ -64,6 +64,8 @@ if (my $pid = fork()) {
kill 15, $Xnest_pid;
} else {
$ENV{HOME} = '/';
+ # to kept sync with gi/mdk-stage1/init.c::env:
+ $ENV{LD_LIBRARY_PATH}='/lib:/usr/lib:/mnt/lib:/mnt/usr/lib:/usr/X11R6/lib:/mnt/usr/X11R6/lib:/lib64:/usr/lib64:/usr/X11R6/lib64:/mnt/lib64:/mnt/usr/lib64:/mnt/usr/X11R6/lib64';
my $cmd = join(' ', "/usr/bin/runinstall2 --local_install", @ARGV);
exec "$sudo chroot $SLASH_LOCATION $cmd" or die "exec $cmd in $SLASH_LOCATION failed\n";
}