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>
Sun, 25 Nov 2012 21:34:47 +0000 (21:34 +0000)
commit1cccb3bd01ed82e4978acfef0fda1bd797eef72a
treeb878b7b94c70eba29bf852b538f5fff3098191ba
parent07b5f84133ac79aac4e939ea5f24390ad7f940a5
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.

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