]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
recipetool/devtool: calculate source paths relative to UNPACKDIR
authorAlexander Kanavin <alex@linutronix.de>
Mon, 16 Jun 2025 09:49:57 +0000 (11:49 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 20 Jun 2025 11:05:52 +0000 (12:05 +0100)
commitc326ca8aeb2bf0f7719e43921d10efd5dedc7b2a
tree76704e28744f3c2ec4d6833cf26bdee6f74169a7
parentf64b7e5fb3181734c8dde87b27e872a026261a74
recipetool/devtool: calculate source paths relative to UNPACKDIR

Now that recipes default to S in UNPACKDIR, recipetool and devtool should
do the same.

There was some discussion about changing devtool to simply setting
UNPACKDIR via bbappend to a workspace and running unpack task directly;
currently it has a bunch of convoluted path calculations, substitutions,
moving source trees around and and special casing (devtool-source.bbclass
in particular is an unpleasant hack).

This should definitely be done; but right now we can simply tweak existing
code which at least doesn't make it worse.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/devtool-source.bbclass
meta/lib/oeqa/selftest/cases/devtool.py
meta/lib/oeqa/selftest/cases/recipetool.py
scripts/lib/devtool/ide_sdk.py
scripts/lib/devtool/standard.py
scripts/lib/devtool/upgrade.py
scripts/lib/recipetool/append.py
scripts/lib/recipetool/create.py