Bug 2996 - bake tar.xz files not extracted
bake tar.xz files not extracted
Status: RESOLVED FIXED
Product: bake
Classification: Unclassified
Component: bake
unspecified
All All
: P3 normal
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-10-02 15:15 UTC by Steven Smith
Modified: 2018-10-03 10:40 UTC (History)
3 users (show)

See Also:


Attachments
Patch to swap .xz and .tar.xz file extention ordering (474 bytes, text/plain)
2018-10-02 15:15 UTC, Steven Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Smith 2018-10-02 15:15:50 UTC
Created attachment 3190 [details]
Patch to swap .xz and .tar.xz file extention ordering

The rules in bake ModuleSource.py are setup to process .xz files before .tar.xz files so the 'unzx' utility is invoked on xz compressed tar archive files.  The tar file is not extracted.

Changing the ordering of extraction rules to process .tar.xz file extensions before .xz files correctly extracts .tar.xz files using tar.

Simple patch to swap ordering is attatched.
Comment 1 Peter Barnes 2018-10-02 19:26:35 UTC
Daniel or Tom:  this is somewhat urgent for us, since it blocks us from using bake unmodified.
Comment 2 Tom Henderson 2018-10-03 10:40:30 UTC
fix pushed in changeset 426:1b29c11c9789