Skip to content

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

Open
@adeepn

Description

@adeepn

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?

  • Yes, my Ubuntu/Debian/OtherOS is running on WSL2

Relevant log URL

https://paste.armbian.com/negohexise

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working as it should

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions