bitbake: fetch2: Avoid using FILESDIR in unpack
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 Nov 2012 21:41:21 +0000 (21:41 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 26 Nov 2012 10:01:24 +0000 (10:01 +0000)
commit5a2f5139a15d54bca31012f93c71a390e8225819
tree2850908e2b6ac81dd87209d88fb1cb24d5b33bfd
parentc5f647e33d6201649882a47df216bb6d028ee455
bitbake: fetch2: Avoid using FILESDIR in unpack

Currently there is code which uses FILESDIR in unpack to ensure
parent directories are created, leading to differing behaviour depending on
which search path is used to locate the directory.

This change standardises the code and takes the data from the fetcher in
question meaning we can standardise the code and deprecate FILESDIR.

(Bitbake rev: 1cccb3bd01ed82e4978acfef0fda1bd797eef72a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/fetch2/__init__.py
bitbake/lib/bb/fetch2/local.py