summaryrefslogtreecommitdiffstats
path: root/perl-install/install/steps_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-09-01 09:04:45 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-09-01 09:04:45 +0000
commit9849bddca8379d425c5710fefef96f836f6a63bf (patch)
treeb1e1054d7660ae7b5746ca788592b0458caec20d /perl-install/install/steps_gtk.pm
parent830f868936102c3d7e40c6bee47be99c2d401a0d (diff)
downloaddrakx-9849bddca8379d425c5710fefef96f836f6a63bf.tar
drakx-9849bddca8379d425c5710fefef96f836f6a63bf.tar.gz
drakx-9849bddca8379d425c5710fefef96f836f6a63bf.tar.bz2
drakx-9849bddca8379d425c5710fefef96f836f6a63bf.tar.xz
drakx-9849bddca8379d425c5710fefef96f836f6a63bf.zip
- hack /tmp/.X11-unix to allow accessing X in chroot
Diffstat (limited to 'perl-install/install/steps_gtk.pm')
-rw-r--r--perl-install/install/steps_gtk.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/install/steps_gtk.pm b/perl-install/install/steps_gtk.pm
index 9ffc9efa4..5c1a3b956 100644
--- a/perl-install/install/steps_gtk.pm
+++ b/perl-install/install/steps_gtk.pm
@@ -40,6 +40,11 @@ sub new($$) {
if (!$::testing) {
devices::make("/dev/kbd");
}
+
+ #- /tmp is mostly tmpfs, but not fully, since it doesn't allow: mount --bind /tmp/.X11-unix /mnt/tmp/.X11-unix
+ mkdir '/tmp/.X11-unix';
+ run_program::run('mount', '-t', 'tmpfs', 'none', '/tmp/.X11-unix');
+
my $launchX = sub {
my ($server, $Driver) = @_;