Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Building images

Featured Replies

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?

Solved by Guest

  • Solution

Found the fix, run:

sudo git config --system --add safe.directory '*' # For all users and all repositories

 

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.