Hi, I’m trying to bump resin from 2.7.6 to 2.12.1. Previously I was using jethro but because of some rust issues (which was pulled with later resin) I bumped poky to rocko. Building went fine until I hit following:
Log data follows:
| DEBUG: Executing shell function do_compile
| build/tmp/work/x86_64-linux/mkfs-hostapp-native/1.0-r0/temp/run.do_compile.26689: line 111: docker: command not found
| build/tmp/work/x86_64-linux/mkfs-hostapp-native/1.0-r0/temp/run.do_compile.26689: line 112: docker: command not found
| WARNING: build/tmp/work/x86_64-linux/mkfs-hostapp-native/1.0-r0/temp/run.do_compile.26689:1 exit 127 from 'docker save "$IMAGE_ID" > build/tmp/work/x86_64-linux/mkfs-hostapp-native/1.0-r0/work/mkfs-hostapp-ext4-image.tar'
when changed in recipe path to docker to /usr/bin/docker it works fine. I’m using stock ubuntu 16.04 with docker installed:
Client:
Version: 17.05.0-ce
API version: 1.29
Go version: go1.7.5
Git commit: 89658be
Built: Thu May 4 22:10:54 2017
OS/Arch: linux/amd64
Server:
Version: 17.05.0-ce
API version: 1.29 (minimum version 1.12)
Go version: go1.7.5
Git commit: 89658be
Built: Thu May 4 22:10:54 2017
OS/Arch: linux/amd64
Experimental: false
I should probably point out that I’m not the original poster . I wasn’t making a version bump, I just had the same ‘docker not found’ problem as the OP. I posted my fix so other people could get unstuck.
Your documentation for adding a new board has us write our own local.conf.sample, using the Raspberry Pi as an example. I just missed the HOSTTOOLS line (linked above).
And yes, I did find that the build/conf directory doesn’t change. Deleting it and rerunning barys seems to regenerate it.
Thanks for clarifying @liamdiprose and double-thanks for helping out a fellow user I think we should see what they come back with and go from there, your suggestion seems to make sense to me at least.