bitbake: fetch: SRC_URI parameter "subdir" does not work for local files
authorRoxana <roxana.ciobanu@intel.com>
Thu, 31 Jul 2014 10:29:24 +0000 (13:29 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 29 Sep 2014 11:08:48 +0000 (12:08 +0100)
commite73ded28b74c19edb6e12472afad4b922a5d81c9
treea6e90f59d8c492d0d8cfc3dd292b5d90a73c5747
parentff642ff0cf428bd0d833e7eafd06c69e7217d931
bitbake: fetch: SRC_URI parameter "subdir" does not work for local files

Check if the 'subdir' parameter exists and assign it to 'destdir' so that
files are copied in ${WORKDIR}/destdir. This fixes urls that are of the form
file://a;subdir=b.

(Bitbake rev: 836a986b365eb9798563ec08d90b346596de7791)

Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/fetch2/__init__.py