ts-7000
[Top] [All Lists]

[ts-7000] Re: how to make a tarball to install a new fs image ?

To:
Subject: [ts-7000] Re: how to make a tarball to install a new fs image ?
From: "j.chitte" <>
Date: Tue, 13 Apr 2010 03:34:09 -0000

--- In  "j.chitte" <> wrote:
>
> 
> 
> --- In  "j.chitte" <j.chitte@> wrote:
> >
> > I have an EABI 2.6 kernel and root file hierarchy tested via nfs. I want to 
> > commit it to flash.
> > 
> > I made a tarball of the filesystem with tar -czf and copied it to be 
> > accessible as part of the ext3 nfsroot that I'm going to boot.
> > 
> > I checked the copy with tar -t and did a diff against the original , all 
> > OK. However , when I boot via nfs and run tar -tvzf .... on the 7250 it 
> > gets though /bin /etc then reports a corruption.
> > 
> > 
> > # tar -tzvf 2.6image -C/mnt/mtd1
> > bin/
> > bin/ash
> > bin/bbconfig
> > ...
> > etc/resolv.conf
> > etc/services
> > etc/sysconfig/
> > etc/sysconfig/ifcfg-eth0
> > tar: corrupted octal value in tar header
> > Command exited with non-zero status 1
> > 
> > 
> > I build the tarball on linux x86
> > 
> > I can't find any doc for creating such an image but anyway it seems odd 
> > that it reports clean on x86 but corrupt when tested on arm.
> > 
> > Can anyone point me at what I'm doing wrong?
> > 
> > TIA.
> >
> 
> OK , I found this:
> 
> http://lists.busybox.net/pipermail/busybox/2009-September/070285.html
> 
> > If you switch off FEATURE_TAR_OLDGNU_COMPATIBILITY, then it will fail:
> 
> so I reconfigured BB , rebuilt it, remade by nfs image rebuilt the tarball, 
> rebooted ... and I still have the same crap.
> 
> Anyone know how to fix this? It's driving me up the wall the time I'm having 
> to waste on stupid stuff like this. 
> 
> TIA
>

OK, don't know why the above option did not work but this has been worked 
around in more recent BB . I got the lastest snap shot from 12.4.2010 and it 
now works sensibly.

Phew!




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU