summaryrefslogtreecommitdiffstats
path: root/draklive-install
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2020-12-07 12:26:30 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2020-12-07 12:26:30 +0000
commitdfd78e753d0755e59976c2f13bb5033e57c96b80 (patch)
tree3644ec5ba6d59958be26fd56848591a649e366ac /draklive-install
parentf90c53bb1f454fe8ebe08a736ecf33ee0320ed01 (diff)
downloaddraklive-install-dfd78e753d0755e59976c2f13bb5033e57c96b80.tar
draklive-install-dfd78e753d0755e59976c2f13bb5033e57c96b80.tar.gz
draklive-install-dfd78e753d0755e59976c2f13bb5033e57c96b80.tar.bz2
draklive-install-dfd78e753d0755e59976c2f13bb5033e57c96b80.tar.xz
draklive-install-dfd78e753d0755e59976c2f13bb5033e57c96b80.zip
Fix X connection failure under GNOME/Xwayland.
Diffstat (limited to 'draklive-install')
-rwxr-xr-xdraklive-install2
1 files changed, 2 insertions, 0 deletions
diff --git a/draklive-install b/draklive-install
index 592b667..d508fa1 100755
--- a/draklive-install
+++ b/draklive-install
@@ -262,6 +262,8 @@ sub prepare_root {
fs::any::prepare_minimal_root();
#- /media isn't included in the minimal root, and we don't copy it to avoid copying stale mount points
mkdir_p("$::prefix/media");
+ #- under GNOME/Xwayland, running gurpmi inside the chroot requires connection to the X11 socket in /tmp
+ run_program::run('mount', '--bind', '/tmp', "$::prefix/tmp");
}
sub build_copy_command {