summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorCHerzig@Gauselmann.de <CHerzig@Gauselmann.de>2019-12-23 16:59:41 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-12-28 12:12:02 +0000
commitfc752a831dde2936d2064be08cddd94eed1a7267 (patch)
tree575a04134df3bda496045cb0c2825ebacdec3116 /bitbake/lib
parent6bb4a252199cfd5d44ad7ab6fc4118c80a1aae92 (diff)
downloadpoky-fc752a831dde2936d2064be08cddd94eed1a7267.tar.gz
bitbake: fetch2/clearcase: Fix tar command working directory
We need to ensure the correct working directory is used for this tar command to succeed. (Bitbake rev: e1a2a0e29a75dead3426ae083387181ad52da91f) Signed-off-by: Christian Herzig <cherzig@gauselmann.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/fetch2/clearcase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/clearcase.py b/bitbake/lib/bb/fetch2/clearcase.py
index e2934ef9fc..ad2f3edc74 100644
--- a/bitbake/lib/bb/fetch2/clearcase.py
+++ b/bitbake/lib/bb/fetch2/clearcase.py
@@ -238,7 +238,7 @@ class ClearCase(FetchMethod):
238 238
239 # Clean clearcase meta-data before tar 239 # Clean clearcase meta-data before tar
240 240
241 runfetchcmd('tar -czf "%s" .' % (ud.localpath), d, cleanup = [ud.localpath]) 241 runfetchcmd('tar -czf "%s" .' % (ud.localpath), d, cleanup = [ud.localpath], workdir = ud.viewdir)
242 242
243 # Clean up so we can create a new view next time 243 # Clean up so we can create a new view next time
244 self.clean(ud, d); 244 self.clean(ud, d);