mirror of
https://github.com/armbian/build.git
synced 2026-01-06 09:58:46 -08:00
armbian-next: fix: kernel-git-oras: make sure cache_git_bare_dir exists before trying to decide which media it's on
This commit is contained in:
@@ -8,6 +8,8 @@ function kernel_prepare_bare_repo_decide_shallow_or_full() {
|
||||
declare SHALLOW_kernel_git_bare_tree="${cache_git_bare_dir}/shallow-kernel-${KERNEL_MAJOR_MINOR}" # for reuse below
|
||||
git_bundles_dir="${SRC}/cache/git-bundles/kernel" # set outer scope variable
|
||||
|
||||
run_host_command_logged mkdir -p "${cache_git_bare_dir}"
|
||||
|
||||
# We've two options here.
|
||||
# One is to use the full version, which is around 3gb. "linux-complete.git.tar" and _always_ useful
|
||||
# The other is to use the shallow version, which is around 300mb. "linux-shallow-6.1.git.tar". Not always useful, might end up unshallowing it later in some fetch.
|
||||
|
||||
Reference in New Issue
Block a user