Opened 9 years ago

Closed 9 years ago

#40 closed defect (worksforme)

busybox tar fails to unpack gnutar tarballs

Reported by: Owned by: somebody
Priority: minor Milestone:
Component: sali Version: 1.5.2
Keywords: busybox, tar Cc:


gnutar 1.17
sali 1.5.2

while attempting to reimage with PROTOCOL=bittorrent, busybox tar is having problems unpacking the gnutar tarball

tarballs are created with:
tar -czSpf

unpacking with:
tar zxvf

tar will begin to unpack some files then skip over large parts with the error msg

tar: warning: skipping header 'S'
tar: invalid tar magic

Attachments (0)

Change History (3)

comment:1 Changed 9 years ago by

  • Priority changed from major to minor

comment:2 Changed 9 years ago by dennis

We are using the tar and gz tools that come with Busybox. To resolve this issue you must omit the flag -S. To do this you must edit si_installbtimage and on line 323 remove the S.

So before:

system "cd $dir/$name && tar -c${compress}Spf $tarball_file .";


system "cd $dir/$name && tar -c${compress}pf $tarball_file .";

comment:3 Changed 9 years ago by

  • Resolution set to worksforme
  • Status changed from new to closed

thanks for the info, that resolved it.

Add Comment

Modify Ticket

Change Properties
as closed The owner will remain somebody.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.