From 9849bddca8379d425c5710fefef96f836f6a63bf Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 1 Sep 2008 09:04:45 +0000 Subject: - hack /tmp/.X11-unix to allow accessing X in chroot --- perl-install/install/steps_gtk.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'perl-install/install/steps_gtk.pm') 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) = @_; -- cgit v1.2.1