Jump to content

Recommended Posts

Posted

After building many images, often there are combinations of kernel, sbc card and linux base that will just give an error, like this one:

 

Getting sources from Git [ kernel:6.1 rk-6.1-rkr5.1 ]
fatal: detected dubious ownership in repository at '/home/steven/build/cache/git-bare/shallow-kernel-6.1'
To add an exception for this directory, call:

    git config --global --add safe.directory /home/steven/build/cache/git-bare/shallow-kernel-6.1
[💥] Error 128 occurred in main shell [ at /home/steven/build/lib/functions/logging/runners.sh:211
    run_host_command_logged_raw() --> lib/functions/logging/runners.sh:211
        run_host_command_logged() --> lib/functions/logging/runners.sh:193
                fetch_from_repo() --> lib/functions/general/git.sh:129
             kernel_prepare_git() --> lib/functions/compilation/kernel-git.sh:20
                  do_with_hooks() --> lib/functions/general/extensions.sh:567
   do_with_logging_unless_user_terminal() --> lib/functions/logging/section-logging.sh:97
                 compile_kernel() --> lib/functions/compilation/kernel.sh:35
   artifact_kernel_build_from_sources() --> lib/functions/artifacts/artifact-kernel.sh:240
    artifact_build_from_sources() --> lib/functions/artifacts/artifacts-obtain.sh:34
       obtain_complete_artifact() --> lib/functions/artifacts/artifacts-obtain.sh:280
       build_artifact_for_image() --> lib/functions/artifacts/artifacts-obtain.sh:392
    main_default_build_packages() --> lib/functions/main/build-packages.sh:102
   full_build_packages_rootfs_and_image() --> lib/functions/main/default-build.sh:31
          do_with_default_build() --> lib/functions/main/default-build.sh:42
         cli_standard_build_run() --> lib/functions/cli/cli-build.sh:25
        armbian_cli_run_command() --> lib/functions/cli/utils-cli.sh:136
                 cli_entrypoint() --> lib/functions/cli/entrypoint.sh:176
                           main() --> compile.sh:50
 ]
[💥] Cleaning up [ please wait for cleanups to finish ]
 

Is there an easy fix for this, or does it mean that the combination of build options are not valid?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines