Modify

Opened 8 years ago

Closed 8 years ago

#40 closed defect (worksforme)

busybox tar fails to unpack gnutar tarballs

Reported by: proche@rainmaker.com Owned by: somebody
Priority: minor Milestone:
Component: sali Version: 1.5.2
Keywords: busybox, tar Cc:

Description

systemimager-bittorrent-4.1.99.svn4556_bli-1
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

result:
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 8 years ago by proche@rainmaker.com

  • Priority changed from major to minor

comment:2 Changed 8 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 .";

After

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

comment:3 Changed 8 years ago by proche@rainmaker.com

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

thanks for the info, that resolved it.

Add Comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.