summaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--NEWS1
-rwxr-xr-xdraklive-install2
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 1770c82..2154f8a 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+- fix X connection failure under GNOME/Xwayland
- disable timeout when running gurpmi2 to install updates
2.25
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 {