bitbake-setup: ensure args.setup_dir is an absolute path
PATCH 1/1 bitbake-setup: ensure args.setup_dir is an absolute path
From: Alexander Kanavin <[email protected]>
This fixes another corner case:
'bitbake-setup update --setup-dir ./relative/path'
Normally setup-dir is deduced from bitbake environment, but when it is passed in on the command line as a relative path, and there is something to update, new bblayer.conf is created with relative paths in it, causing breakage.
Signed-off-by Alexander Kanavin <[email protected]>
--- bin/bitbake-setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
bin/bitbake-setup +1 -1
@@ -746,7 +746,7 @@ def are_layers_changed(layers, layerdir, d): return changed def build_status(top_dir, settings, args, d, update=False): - setupdir = args.setup_dir + setupdir = os.path.abspath(args.setup_dir) confdir = os.path.join(setupdir, "config") layerdir = os.path.join(setupdir, "layers")
Signature · 1 line
2.47.3