]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
scripts/oe-setup-builddir: add a check that TEMPLATECONF is valid
authorAlexander Kanavin <alex.kanavin@gmail.com>
Wed, 31 Aug 2022 11:13:55 +0000 (13:13 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 1 Sep 2022 09:05:42 +0000 (10:05 +0100)
commitc6f2b57be8893ee58f20cc29d8ec3a5a6edf7c07
tree1f112c62e13b1ded21ad26bde1ea51f52517cc2e
parent214c3dc91ceb1557b62ad3a359c72cfc9b2bf4f0
scripts/oe-setup-builddir: add a check that TEMPLATECONF is valid

specifically that ../../layer.conf exists, and that second-from-last
component in the path is 'templates'.

This requires tweaking template.conf creation in eSDK bbclass, as
we need to ensure that the path in it is valid, and exists
(which may not be the case if the SDK is poky-based).

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/populate_sdk_ext.bbclass
scripts/oe-setup-builddir