armbian / build

Armbian Linux build framework generates custom Debian or Ubuntu image for x86, aarch64, riscv64 & armhf
https://www.armbian.com
GNU General Public License v2.0
4.23k stars 2.31k forks source link

[Bug]: compile did't support worktree git repository #6962

Open adeepn opened 3 months ago

adeepn commented 3 months ago

What happened?

[🔨] #11 0.219 fatal: not a git repository: /home/adeep/Devel/jARMBIAN/build/.git/worktrees/build-r2pro [🔨] #11 0.224 [🐳|💥] Error 128 occurred in main shell [ at /armbian/lib/functions/logging/runners.sh:211

How to reproduce?

git worktree add ../build-r2pro cd ../build-r2pro /compile.sh armbian-images rewrite-kernel-patches \ DOCKER_ARMBIAN_BASE_IMAGE="ubuntu:noble" \ DOCKERFILE_USE_ARMBIAN_IMAGE_AS_BASE=no \ BUILD_DESKTOP=no \ BUILD_MINIMAL=no \ KERNEL_CONFIGURE=no \ DEBUG_PATCHING=yes \ BOARD=bananapir2pro \ BRANCH=edge \ RELEASE=noble

Branch

main (main development branch)

On which host OS are you running the build script and observing this problem?

Ubuntu 24.04 Noble

Are you building on Windows WSL2?

Relevant log URL

https://paste.armbian.com/negohexise

Code of Conduct

github-actions[bot] commented 3 months ago

Jira ticket: AR-2421