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. --- draklive-install | 2 ++ 1 file changed, 2 insertions(+) (limited to 'draklive-install') 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