Just trying to compile resin on Debian at the moment, and I’m coming across an issue when it comes to compiling docker-supervisor, namely that the build fails with the following error:
ERROR: docker-resin-supervisor-disk-0.0.0-r0 do_compile: docker-disk: Host must have at least one available loop device. ERROR: docker-resin-supervisor-disk-0.0.0-r0 do_compile: Function failed: do_compile (log file is located at /home/yocto/resin-chip/build/tmp/work/chip-poky-linux-gnueabi/docker-resin-supervisor-disk/0.0.0-r0/temp/log.do_compile.5128) ERROR: Logfile of failure stored in: /home/yocto/resin-chip/build/tmp/work/chip-poky-linux-gnueabi/docker-resin-supervisor-disk/0.0.0-r0/temp/log.do_compile.5128 ERROR: Task (/home/yocto/resin-chip/build/../layers/meta-resin/meta-resin-common/recipes-containers/docker-disk/docker-resin-supervisor-disk.bb:do_compile) failed with exit code '1'
Has anyone else had this issue before, and anyone got an idea how to solve it? From what I can tell it is due to losetup not being run as root, but if one tries to run ./resin-yocto-scripts/build/barys as root, it complains about bitbake being run as root. Any thoughts?