Skip to content

[Bug]: Can't build legacy branch of kernel for bcm2711 #7055

Open
@KhazAkar

Description

@KhazAkar

What happened?

What happened:

[🐳|🔨]   cp: cannot stat '/usr/lib/linux-image-6.1.93-legacy-bcm2711//broadcom/*.dtb': No such file or directory
[🐳|💥] Error 1 occurred in main shell [ at /armbian/lib/functions/logging/runners.sh:211
    run_host_command_logged_raw() --> lib/functions/logging/runners.sh:211
                  chroot_sdcard() --> lib/functions/logging/runners.sh:122
   post_family_tweaks__populate_boot_firmware_directory() --> config/sources/families/bcm2711.conf:184
             post_family_tweaks() --> <extension_magic>:125
          call_extension_method() --> lib/functions/general/extensions.sh:57
   install_distribution_agnostic() --> lib/functions/rootfs/distro-agnostic.sh:393
                do_with_logging() --> lib/functions/logging/section-logging.sh:81
         build_rootfs_and_image() --> lib/functions/main/rootfs-image.sh:28
   full_build_packages_rootfs_and_image() --> lib/functions/main/default-build.sh:36
          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

Expectation: It should build, just like current branch.

How to reproduce?

./compile.sh RELEASE=jammy BOARD=rpi4b BRANCH=legacy NETWORKING_STACK=network-manager KERNEL_CONFIGURE=prebuilt BUILD_DESKTOP=no BUILD_MINIMAL=yes EXTERNAL=yes EXTERNAL_NEW=prebuilt INSTALL_HEADERS=yes DISABLE_IPV6=false COMPRESS_OUTPUTIMAGE="sha,xz" KERNEL_GIT=shallow CONSOLE_AUTOLOGIN=no INCLUDE_HOME_DIR=yes

Plus, changes mentioned in logs are from this PR: #6503 - but since replacing config.txt from customize-image.sh wasn't working with it, I just appended my own lines to this changes - but shouldn't be relevant here.

Branch

other (only relevant in corner cases)

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

Ubuntu 22.04 Jammy

Are you building on Windows WSL2?

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

Relevant log URL

https://paste.armbian.com/qabigucato

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