From b17d881b78ea17983f5e18624e46f1184c9b3a2e Mon Sep 17 00:00:00 2001 From: mirkobrombin Date: Sat, 13 Jan 2024 15:59:58 +0100 Subject: [PATCH] feat[close #10]: Wrap distrobox-host-exec to setup the right environment --- includes.container/usr/bin/host-shell | 2 ++ recipe.yml | 9 +++++---- 2 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 includes.container/usr/bin/host-shell diff --git a/includes.container/usr/bin/host-shell b/includes.container/usr/bin/host-shell new file mode 100644 index 0000000..e373409 --- /dev/null +++ b/includes.container/usr/bin/host-shell @@ -0,0 +1,2 @@ +#!/bin/bash +distrobox-host-exec "$@" \ No newline at end of file diff --git a/recipe.yml b/recipe.yml index 49301a7..eb1c095 100644 --- a/recipe.yml +++ b/recipe.yml @@ -91,12 +91,13 @@ modules: - name: host-aliases type: shell commands: - - ln -s /usr/bin/host-spawn /usr/bin/vso - - ln -s /usr/bin/host-spawn /usr/bin/apx - - ln -s /usr/bin/host-spawn /usr/bin/ikaros - - ln -s /usr/bin/host-spawn /usr/bin/vanilla-sideload + - ln -s /usr/bin/host-shell /usr/bin/vso + - ln -s /usr/bin/host-shell /usr/bin/apx + - ln -s /usr/bin/host-shell /usr/bin/ikaros + - ln -s /usr/bin/host-shell /usr/bin/vanilla-sideload - sh /usr/share/apx/distrobox/gen-distrobox-links - chmod +x /usr/bin/os-shell + - chmod +x /usr/bin/host-shell - chmod +x /usr/bin/abroot - name: cleanup