summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
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 /bitbake/lib
parent92a9d59fccdfb6587fbd12f686899a8ace5e1d2f (diff)
downloadpoky-b9a97e07b48b20b00feff5b8c7196c3a3b7762b6.tar.gz
bitbake/fetch2: Revert part of the unpack change until the issues with it are resolved
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-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):
720 destdir = "." 720 destdir = "."
721 elif not os.access("%s/%s" % (rootdir, destdir), os.F_OK): 721 elif not os.access("%s/%s" % (rootdir, destdir), os.F_OK):
722 os.makedirs("%s/%s" % (rootdir, destdir)) 722 os.makedirs("%s/%s" % (rootdir, destdir))
723 #cmd = 'cp -pPR %s %s/%s/' % (file, rootdir, destdir) 723 cmd = 'cp -pPR %s %s/%s/' % (file, rootdir, destdir)
724 cmd = 'tar -cf - -C "%d" -ps . | tar -xf - -C "%s/%s/"' % (file, rootdir, destdir) 724 #cmd = 'tar -cf - -C "%d" -ps . | tar -xf - -C "%s/%s/"' % (file, rootdir, destdir)
725 else: 725 else:
726 # The "destdir" handling was specifically done for FILESPATH 726 # The "destdir" handling was specifically done for FILESPATH
727 # items. So, only do so for file:// entries. 727 # items. So, only do so for file:// entries.