diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2020-12-07 12:26:30 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2020-12-07 12:26:30 +0000 |
commit | dfd78e753d0755e59976c2f13bb5033e57c96b80 (patch) | |
tree | 3644ec5ba6d59958be26fd56848591a649e366ac | |
parent | f90c53bb1f454fe8ebe08a736ecf33ee0320ed01 (diff) | |
download | draklive-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-- | NEWS | 1 | ||||
-rwxr-xr-x | draklive-install | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -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 { |