currently, busybox tar does not recognize xz-compressed archives automatically, the code in that place has "TODO" comment. The attached patch implements the missing functionality. Some missing bits: tar taf and tar tJf does not work: needs to check magic numbers. Probably need to review all the data offsets passed to all the decompress_*() routines. no compression support, -- buzybox xz does not support compression Thanks.
Created attachment 3740 [details] implementation
Fixed in git: commit dfc2473b9ed88039697ac89ee2a4301cdaefcf84 Author: Boris Reisig <boris@boris.ca> Date: Thu May 24 09:01:55 2012 +0200 tar: support -J, --xz explicit compression option function old new delta tar_main 868 881 +13 tar_longopts 285 290 +5 packed_usage 29267 29270 +3