cli: append to EXTRA_BUILD_DEPS array in docker/patch ssh hooks

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Ricardo Pardini
2026-06-21 23:04:42 +02:00
co-authored by Claude Opus 4.8
parent ac66a6614e
commit a97cc24563
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ function cli_docker_pre_run() {
shell) shell)
# inside-function-function: a dynamic hook, only triggered if this CLI runs. # inside-function-function: a dynamic hook, only triggered if this CLI runs.
function add_host_dependencies__ssh_client_for_docker_shell_over_ssh() { function add_host_dependencies__ssh_client_for_docker_shell_over_ssh() {
declare -g EXTRA_BUILD_DEPS="${EXTRA_BUILD_DEPS} openssh-client" EXTRA_BUILD_DEPS+=("openssh-client")
} }
declare -g DOCKER_PASS_SSH_AGENT="yes" # Pass SSH agent to docker declare -g DOCKER_PASS_SSH_AGENT="yes" # Pass SSH agent to docker
;; ;;
+1 -1
View File
@@ -15,7 +15,7 @@ function cli_patch_kernel_pre_run() {
# inside-function-function: a dynamic hook, only triggered if this CLI runs. # inside-function-function: a dynamic hook, only triggered if this CLI runs.
# install openssh-client, we'll need it to push the patched tree. # install openssh-client, we'll need it to push the patched tree.
function add_host_dependencies__ssh_client_for_patch_pushing_over_ssh() { function add_host_dependencies__ssh_client_for_patch_pushing_over_ssh() {
declare -g EXTRA_BUILD_DEPS="${EXTRA_BUILD_DEPS} openssh-client" EXTRA_BUILD_DEPS+=("openssh-client")
} }
# "gimme root on a Linux machine" # "gimme root on a Linux machine"