Updated: new error: Running
./resin-yocto-scripts/build/barys and troubleshooting a build error. I checked ran the specified error script manually but it required root permissions. I deleted my build directory and tried again but experienced the same failure.
| DEBUG: Python function extend_recipe_sysroot finished | DEBUG: Executing shell function do_image_hostapp_ext4 | 0+0 records in | 0+0 records out | 0 bytes copied, 1.8221e-05 s, 0.0 kB/s | Loaded image ID: sha256:cdd92afacfe80eb5d4cae7eafa8a9277962b0fc3be0305d4836cf0bdd8bb3e56 | + SYSROOT=/mnt/sysroot/inactive | + pid=8 | + sleep 5 | + balenad -s=aufs --data-root=/mnt/sysroot/inactive/balena -H unix:///var/run/balena-host.sock | time="2018-03-06T06:03:50.103282604Z" level=warning msg="could not change group /var/run/balena-host.sock to balena: group balena not found" | time="2018-03-06T06:03:50.105380235Z" level=info msg="libcontainerd: new containerd process, pid: 19" | time="2018-03-06T06:03:51.116589108Z" level=warning msg="failed to rename /mnt/sysroot/inactive/balena/tmp for background deletion: rename /mnt/sysroot/inactive/balena/tmp /mnt/sysroot/inactive/balena/tmp-old: no such file or directory. Deleting synchronously" | Error starting daemon: error initializing graphdriver: driver not supported | + hostapp-update -f /input -n | Cannot connect to the balena daemon at unix:///var/run/balena-host.sock. Is the balena daemon running? | Cannot connect to the balena daemon at unix:///var/run/balena-host.sock. Is the balena daemon running? | Cannot connect to the balena daemon at unix:///var/run/balena-host.sock. Is the balena daemon running? | invalid reference format | Deleted: sha256:cdd92afacfe80eb5d4cae7eafa8a9277962b0fc3be0305d4836cf0bdd8bb3e56 | Deleted: sha256:4616db5085dc176531fccf9a6b15a0173f5ddc06bdfe671bf0826c409d4acb7e | Deleted: sha256:74c11e1ca2b2c726d1eab551e4dd8ac85189f7b8786cb1fa92a9a05444d84505 | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_image_hostapp_ext4 (log file is located at /home/yoctobuild/Development/poky/resin-intel/build/tmp/work/genericx86_64-poky-linux/resin-image/1.0-r0/temp/log.do_image_hostapp_ext4.2889)
The main reason I’m trying to build the image is for use with an Atom based Intel device and I don’t believe drivers are included for the PCI-Express Ethernet in the standard image.
I was able to successfully build Yocto with ethernet support but the process I used to enable it doesn’t seem to work with the resin build. `bitbake linux-yocto -c menuconfig.’
What’s the best way to enable additional ethernet drivers ? Specifically for Intel Pro PCI-Express ethernet?