From b9a97e07b48b20b00feff5b8c7196c3a3b7762b6 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sun, 13 Feb 2011 00:05:06 +0000 Subject: bitbake/fetch2: Revert part of the unpack change until the issues with it are resolved Signed-off-by: Richard Purdie --- bitbake/lib/bb/fetch2/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bitbake/lib') diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index 900812112..a5ba166a8 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. -- cgit v1.2.3