summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/crate.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/fetch2/crate.py')
-rw-r--r--bitbake/lib/bb/fetch2/crate.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/crate.py b/bitbake/lib/bb/fetch2/crate.py
index 3310ed0050..01d49435c3 100644
--- a/bitbake/lib/bb/fetch2/crate.py
+++ b/bitbake/lib/bb/fetch2/crate.py
@@ -101,8 +101,10 @@ class Crate(Wget):
101 bp = d.getVar('BP') 101 bp = d.getVar('BP')
102 if bp == ud.parm.get('name'): 102 if bp == ud.parm.get('name'):
103 cmd = "tar -xz --no-same-owner -f %s" % thefile 103 cmd = "tar -xz --no-same-owner -f %s" % thefile
104 ud.unpack_tracer.unpack("crate-extract", rootdir)
104 else: 105 else:
105 cargo_bitbake = self._cargo_bitbake_path(rootdir) 106 cargo_bitbake = self._cargo_bitbake_path(rootdir)
107 ud.unpack_tracer.unpack("cargo-extract", cargo_bitbake)
106 108
107 cmd = "tar -xz --no-same-owner -f %s -C %s" % (thefile, cargo_bitbake) 109 cmd = "tar -xz --no-same-owner -f %s -C %s" % (thefile, cargo_bitbake)
108 110