mirror of
https://github.com/armbian/build.git
synced 2026-09-08 23:59:54 +08:00
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:
co-authored by
Claude Opus 4.8
parent
ac66a6614e
commit
a97cc24563
@@ -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
|
||||||
;;
|
;;
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user