From 8e4e2b9aa2cf37c698d11bc877493f7d423a93c0 Mon Sep 17 00:00:00 2001 From: Job79 Date: Fri, 18 Jul 2025 21:50:50 +0200 Subject: [PATCH] fix: problems with host-spawn --- Containerfile | 2 +- config/bin/host | 2 +- enter.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Containerfile b/Containerfile index 9dfe5f2..273daf6 100644 --- a/Containerfile +++ b/Containerfile @@ -9,7 +9,7 @@ FROM quay.io/fedora/fedora:42 RUN dnf update -y && \ dnf copr enable -y atim/lazygit && \ dnf -y install neovim unzip awk jq \ - bash-completion host-spawn zoxide fd-find chafa lazygit procps \ + bash-completion host-spawn dbus-launch zoxide fd-find chafa lazygit procps \ git go npm # === setup container user === diff --git a/config/bin/host b/config/bin/host index 45cd774..cea3cdb 100755 --- a/config/bin/host +++ b/config/bin/host @@ -1,2 +1,2 @@ #!/bin/sh -host-spawn -cwd "${PWD/#$HOME/$HOST_HOME}" "$@" +host-spawn -cwd "${PWD/#$HOME/$HOST_HOME}" $(basename "$0") "$@" diff --git a/enter.sh b/enter.sh index ec51d97..2cd60ee 100755 --- a/enter.sh +++ b/enter.sh @@ -22,8 +22,8 @@ run_args() { arg "--net=host" # Configure options for host-spawn - arg "--volume /run/user/1000/bus:/tmp/bus" # Use host dbus. - arg "-e HOST_HOME=\"$HOME\"" # Pas in host $HOME path. + arg "-v /run/user/1000/bus:/tmp/bus" # Use host dbus. + arg "-e HOST_HOME=$HOME" # Pas in host $HOME path. # Mount the wayland socket. Required to get the system # clipbard (wl-copy) working.