support more compression [xz or bzip] in curtin 'extract'

Bug #1511104 reported by Scott Moser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
curtin
Confirmed
Medium
Unassigned

Bug Description

In revno 282, i made the seemingly innocuous (and untested) change to drop 'z' from the parameters passed to:
   wget http://example.com/some-root.tar -O - | tar -xzf -

Turns out that does not work.
I sent a feature request upstream to tar at http://lists.gnu.org/archive/html/bug-tar/2015-10/msg00027.html.

Related bugs:
 * bug 1510719: Curtin fails to deploy through MAAS due to tar error

Related branches

Revision history for this message
Scott Moser (smoser) wrote :

The suggested 'smtar' branch basically does the compression determination in a shell 'tar' wrapper and feeds the right compression arg to tar.

Changed in curtin:
importance: Undecided → Medium
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.