poky/scripts/lib/devtool
Paul Eggleton f465039737 recipetool: create: support specifying a file as the local source
It is currently possible to specify a file (e.g. a tarball) on the local
disk as the source, but you have to know to put file:// in front of it.
There's really no need to force users to jump through that hoop if they
really want to do this so check if the specified source is a file and
prefix it with file:// if that's the case.

Also ensure the same works for "devtool add" at the same time.

(From OE-Core rev: 71350003790c38e84b0e525a71a2fe5d24e3d083)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-07-12 23:10:15 +01:00
..
__init__.py devtool: return specific exit code for incompatible recipes 2016-07-12 23:10:15 +01:00
build_image.py devtool: Fix build-sdk when pn doesn't match filename 2016-05-11 10:33:43 +01:00
build_sdk.py devtool: add build-sdk subcommand 2016-03-07 00:11:38 +00:00
build.py scripts: python3: convert iterables to lists 2016-06-03 13:13:28 +01:00
deploy.py devtool: deploy-target: preserve existing files 2016-02-21 09:32:43 +00:00
package.py devtool: categorise and order subcommands in help output 2016-02-21 09:32:42 +00:00
runqemu.py devtool: categorise and order subcommands in help output 2016-02-21 09:32:42 +00:00
sdk.py devtool: sdk-update: drop support for local updates 2016-05-21 22:24:57 +01:00
search.py devtool: categorise and order subcommands in help output 2016-02-21 09:32:42 +00:00
standard.py recipetool: create: support specifying a file as the local source 2016-07-12 23:10:15 +01:00
upgrade.py scripts: Fix deprecated dict methods for python3 2016-06-02 08:24:01 +01:00
utilcmds.py devtool: configure-help: fix error if do_configure not already run 2016-03-25 10:29:13 +00:00