summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-13 00:05:06 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-13 00:05:06 +0000
commitb9a97e07b48b20b00feff5b8c7196c3a3b7762b6 (patch)
treee153b30f770b8cd4831624f93e5b69b32060d166
parent92a9d59fccdfb6587fbd12f686899a8ace5e1d2f (diff)
downloadopenembedded-core-b9a97e07b48b20b00feff5b8c7196c3a3b7762b6.tar.gz
openembedded-core-b9a97e07b48b20b00feff5b8c7196c3a3b7762b6.tar.bz2
openembedded-core-b9a97e07b48b20b00feff5b8c7196c3a3b7762b6.zip
bitbake/fetch2: Revert part of the unpack change until the issues with it are resolved
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index 9008121126..a5ba166a89 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -720,8 +720,8 @@ class FetchMethod(object):
destdir = "."
elif not os.access("%s/%s" % (rootdir, destdir), os.F_OK):
os.makedirs("%s/%s" % (rootdir, destdir))
- #cmd = 'cp -pPR %s %s/%s/' % (file, rootdir, destdir)
- cmd = 'tar -cf - -C "%d" -ps . | tar -xf - -C "%s/%s/"' % (file, rootdir, destdir)
+ cmd = 'cp -pPR %s %s/%s/' % (file, rootdir, destdir)
+ #cmd = 'tar -cf - -C "%d" -ps . | tar -xf - -C "%s/%s/"' % (file, rootdir, destdir)
else:
# The "destdir" handling was specifically done for FILESPATH
# items. So, only do so for file:// entries.