From dfd78e753d0755e59976c2f13bb5033e57c96b80 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Mon, 7 Dec 2020 12:26:30 +0000 Subject: Fix X connection failure under GNOME/Xwayland. --- NEWS | 1 + draklive-install | 2 ++ 2 files changed, 3 insertions(+) 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 { -- cgit v1.2.1