Open HakanL opened 1 year ago
If I run it again then it will continue where it left off and be successful.
Has this happened on a new clone and build or when building in an older existing clone which had been built before? Also, are you using the shared sstate option when building?
@floion I was struggling to find documentation for how to build the images from scratch, it seems there were version-specific dependencies on OS version, docker, etc. I was hoping to find a Docker environment that would do the full builds, but was unable to, so I ended up writing that (see here: https://forums.balena.io/t/new-linux-kernel-build-for-raspberry-pi-cm4/366630) and the repo https://github.com/DMXCore/BalenaOS-Build, which is what I'm using to build (but getting this error). It's essentially a new clone (but I have updated it instead of complete clone over the last 3 months). I'm not aware of the shared state option, maybe I'm building it wrong, I'd love to set it up better, in fact, to set it up as a Github action would be the ultimate goal.
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:
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.