generic-poky/scripts/lib
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
..
bsp scripts/lib/bsp/help.py: Changed help of yocto-bsp to match latest syntax 2016-07-07 13:38:13 +01:00
devtool recipetool: create: support specifying a file as the local source 2016-07-12 23:10:15 +01:00
recipetool recipetool: create: support specifying a file as the local source 2016-07-12 23:10:15 +01:00
wic image-live, image-vm, wic: Remove fs size workaround 2016-06-03 13:13:30 +01:00
argparse_oe.py scripts/lib/argparse_oe: also change 'positional arguments' to 'arguments' 2016-05-06 10:31:13 +01:00
scriptpath.py scripts: consolidate code to find bitbake path 2014-06-25 13:51:45 +01:00
scriptutils.py scripts: Replace basestring -> str for python3 2016-06-02 08:24:01 +01:00