Skip to content

Build error - boot.scr #1012

Description

@HakanL

I'm getting a build error that boot.scr is missing, but when I look in the referenced directory the file is there.

Last part of the log:

NOTE: Running task 4495 of 4519 (virtual:native:/home/build/balena-raspberrypi/build/../layers/poky/meta/recipes-devtools/mtools/mtools_4.0.38.bb:do_populate_sysroot)
NOTE: recipe mtools-native-4.0.38-r0: task do_populate_sysroot: Started
NOTE: recipe mtools-native-4.0.38-r0: task do_populate_sysroot: Succeeded
NOTE: Running task 4496 of 4519 (virtual:native:/home/build/balena-raspberrypi/build/../layers/poky/meta/recipes-devtools/dosfstools/dosfstools_4.2.bb:do_populate_sysroot)
NOTE: recipe dosfstools-native-4.2-r0: task do_populate_sysroot: Started
NOTE: recipe dosfstools-native-4.2-r0: task do_populate_sysroot: Succeeded
NOTE: Running task 4497 of 4519 (/home/build/balena-raspberrypi/build/../layers/meta-raspberrypi/recipes-bsp/bootfiles/rpi-cmdline.bb:do_deploy)
NOTE: recipe rpi-cmdline-1.0-r0: task do_deploy: Started
NOTE: recipe rpi-cmdline-1.0-r0: task do_deploy: Succeeded
NOTE: Running task 4498 of 4519 (/home/build/balena-raspberrypi/build/../layers/meta-raspberrypi/recipes-bsp/bootfiles/rpi-config_git.bb:do_deploy)
NOTE: recipe rpi-config-git-r5: task do_deploy: Started
NOTE: recipe rpi-config-git-r5: task do_deploy: Succeeded
NOTE: Running task 4499 of 4519 (/home/build/balena-raspberrypi/build/../layers/meta-balena/meta-balena-common/recipes-core/images/balena-image.bb:do_resin_boot_dirgen_and_deploy)
NOTE: recipe balena-image-1.0-r0: task do_resin_boot_dirgen_and_deploy: Started
ERROR: balena-image-1.0-r0 do_resin_boot_dirgen_and_deploy: /home/build/balena-raspberrypi/build/tmp/deploy/images/raspberrypicm4-ioboard/boot.scr is an invalid path referenced in BALENA_BOOT_PARTITION_FILES.
ERROR: balena-image-1.0-r0 do_resin_boot_dirgen_and_deploy: ExecutionError('/home/build/balena-raspberrypi/build/tmp/work/raspberrypicm4_ioboard-poky-linux/balena-image/1.0-r0/temp/run.do_resin_boot_dirgen_and_deploy.624913', 1, None, None)
ERROR: Logfile of failure stored in: /home/build/balena-raspberrypi/build/tmp/work/raspberrypicm4_ioboard-poky-linux/balena-image/1.0-r0/temp/log.do_resin_boot_dirgen_and_deploy.624913
NOTE: recipe balena-image-1.0-r0: task do_resin_boot_dirgen_and_deploy: Failed
ERROR: Task (/home/build/balena-raspberrypi/build/../layers/meta-balena/meta-balena-common/recipes-core/images/balena-image.bb:do_resin_boot_dirgen_and_deploy) failed with exit code '1'
NOTE: Running task 4500 of 4519 (/home/build/balena-raspberrypi/build/../layers/meta-raspberrypi/recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb:do_deploy)
NOTE: recipe rpi-u-boot-scr-1.0-r0: task do_deploy: Started
NOTE: recipe rpi-u-boot-scr-1.0-r0: task do_deploy: Succeeded
NOTE: recipe parted-native-3.4-r0: task do_compile: Succeeded
NOTE: Tasks Summary: Attempted 4500 tasks of which 3871 didn't need to be rerun and 1 failed.

Error: ERROR: balena-image-1.0-r0 do_resin_boot_dirgen_and_deploy: /home/build/balena-raspberrypi/build/tmp/deploy/images/raspberrypicm4-ioboard/boot.scr is an invalid path referenced in BALENA_BOOT_PARTITION_FILES.

boot.scr is in this folder: /home/build/balena-raspberrypi/build/tmp/deploy/images/raspberrypicm4-ioboard/, 516 bytes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions