On Sun, Sep 12, 2010 at 12:22 PM, Douglas Mencken <[email protected]> wrote: > Busybox' 'tar' applet can't expand some gzipped tarballs: > > # od -t x4 test.tar.gz | head -1 > 0000000 1f8b0800 84a38c4c 0203ec5d 7b779b46 << expands correctly > > # od -t x4 nano-2.2.5.tar.gz | head -1 > 0000000 1f8b0800 25635b4c 0203ec3c fd77dac6 << tar errors: "invalid tar magic" > > That nano is from 'http://ftp.gnu.org/gnu/nano/nano-2.2.5.tar.gz'; > that test.tar.gz was made by myself using bbox's tar. > As I see, magic $1F8B0800 is okay is both files. > > Of course, non-bbox tar expands them both okay. > > My config: http://manulix.wikidot.com/files:busybox-config
In your config, you have these options disabled: # CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY is not set # CONFIG_FEATURE_TAR_OLDSUN_COMPATIBILITY is not set Enable them. I think for this particular tarball, you need OLDGNU compat. But to forestall further problems, enable both. -- vda _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
