Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Raspberry Pi3 agl-demo build failure on directory mismatch
Description
After issuing "bitbake agl-demo-platform" for a Raspberry Pi 3 build on Raspbian 8, I receive the following:
ERROR: Unable to parse /home/pi/dev/agl/meta-raspberry/conf/layer.conf: [Errno 2] file /home/pi/dev/agl/meta-raspberry/conf/layer.conf not found
The error is accurate as meta-raspberry doesn't exist. However, a directory named meta-raspberrypi does exist. This appears to be a simple name mismatch populated in build/conf/bblayers.conf:
BBLAYERS =+ "${METADIR}/meta-raspberry"
...as sourced from the Raspberry Pi 2 & 3 templates:
See the attached log for console output. Issue aside, this log might be useful for seeing what's generally happening on someone else's system up to the point of the error.
After issuing "bitbake agl-demo-platform" for a Raspberry Pi 3 build on Raspbian 8, I receive the following:
ERROR: Unable to parse /home/pi/dev/agl/meta-raspberry/conf/layer.conf: [Errno 2] file /home/pi/dev/agl/meta-raspberry/conf/layer.conf not found
The error is accurate as meta-raspberry doesn't exist. However, a directory named meta-raspberrypi does exist. This appears to be a simple name mismatch populated in build/conf/bblayers.conf:
BBLAYERS =+ "${METADIR}/meta-raspberry"
...as sourced from the Raspberry Pi 2 & 3 templates:
$ grep meta-raspberry meta-agl/templates/machine/raspberrypi2/50_bblayers.conf.inc BBLAYERS =+ "${METADIR}/meta-raspberry" $ grep meta-raspberry meta-agl/templates/machine/raspberrypi3/50_bblayers.conf.inc BBLAYERS =+ "${METADIR}/meta-raspberry"
For reference, here's the history of my build arguments:
cd ~/dev/agl repo init -b blowfish -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo repo sync source meta-agl/scripts/aglsetup.sh -m raspberrypi3 agl-demo agl-appfw-smack bitbake agl-demo-platform
See the attached log for console output. Issue aside, this log might be useful for seeing what's generally happening on someone else's system up to the point of the error.