On Fri, 2010-07-30 at 15:01 +0200, Marten Lootsma wrote:
Dear list members,
I am upgrading a LTIB version given by Freescale (mx35 SDK1_5 to SDK1_7). This question might be misplaced on this list, but I have a problem with tar in Busybox (1.15). The tar option 'z' for gzip support is not recognized:
******************************************************************
address@hidden /mnt/appl/bin$ tar xzvf mb.tar.gz
tar: invalid option -- z
BusyBox v1.15.0 () multi-call binary
Usage: tar -[cxtvO] [-f TARFILE] [-C DIR] [FILE(s)]...
Create, extract, or list files from a tar file
Options:
c Create
x Extract
t List
Archive format selection:
File selection:
f Name of TARFILE or "-" for stdin
O Extract to stdout
C Change to directory DIR before operation
v Verbose
address@hidden /mnt/appl/bin$ tar xvf mb.tar.gz
tar: invalid tar magic
******************************************************************
Note that gunzip is working. I searched in the busybox config, but I could a way to add gzip support to tar.
Does someone has a suggestion?
1) Configure LTIB by "./ltib -c"
2) In the menu under "Package List", select "Configure busybox at build time"
3) Save/exit this configuration.
4) LTIB will unpack busybox and present its configuration.
5) In busybox's config, select "Archival utilities"
6) Scroll down to "tar".
6) Select "Enable -z option" suboption of "tar"
7) Save/exit busybox configuration
At this point busybox will be rebuilt/redeployed, and when you load hte new image, you should have a working "-z" option on tar to invoke gzip/gunzip....
Thanks,
Marten
_______________________________________________
LTIB home page: http://ltib.org
Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib