The yocto project allows the use of relative path in most of its configuration files but not within the ./build/conf/bblayers.conf
file. What is the reason for blocking the use of anything but absolute paths for the BBLAYERS
and BBLAYERS_NON_REMOVABLE
variables?
I have looked at the BitBake user manual for yocto version 2.0 (current release) but that does not explain the reasoning. I also checked some of the older manual versions but they do not seem to mention the reasoning when talking of the bblayers.conf
file or the BBLAYERS
variable. The same file also contains BBPATH = "${TOPDIR}"
which is at least dynamically assigned and not that far away from the root yotco directory.
My best guess is that the bblayers.conf file is specific to the system it is being run on. That would make it unsuitable for sharing between developers via source control and the absolute paths would force people to edit the file whenever they received a copy. That did not seem like a very good reason though, hence the question.
bblayers.conf
file is intended to be specific to a user on a machine and only temporary. Once you have sorted out what layers you want, you should make a recipe that replaces most of thebblayers.conf
contents. You can use${HOME}
,${TOPDIR}
and a few other substitutions but not relative paths. – Reviewer../
above it and move there, then move back down another directory path. That sounds like more work than go to /home/TafT/yocto/meta. – Reviewer