From: Richard Purdie Date: Sun, 13 Feb 2011 00:05:06 +0000 (+0000) Subject: bitbake/fetch2: Revert part of the unpack change until the issues with it are resolved X-Git-Tag: 2011-1~2365 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=b9a97e07b48b20b00feff5b8c7196c3a3b7762b6;p=openembedded-core.git bitbake/fetch2: Revert part of the unpack change until the issues with it are resolved Signed-off-by: Richard Purdie --- 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.