View Single Post
Old 08-18-2012, 04:51 PM   #89
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Original Tar - With a whole pile of stuff in it... 365 Mb - for everything other than those things I listed.

The qt demos are 20GB for the record. No really.

simon@dev ~/BLDS/buildroot/images $ tar -x -h --hard-dereference -l -f rootfs.tar ./bin ./etc ./lib ./sbin ./usr

(makes the file structure pictured)

simon@dev ~/BLDS/buildroot/images $ tar -c -h --hard-dereference -l -f kindle.tar ./bin ./etc ./lib ./sbin ./usr
Code:
tar: ./etc/resolv.conf: File removed before we read it
tar: ./sbin/mount.ntfs-3g: File removed before we read it
tar: ./sbin/mkfs.ntfs: File removed before we read it
tar: ./sbin/mount.lowntfs-3g: File removed before we read it
Results in a 792 Mb final delivery file. - So I was right about 200 - 250% when it starts to even out with bigger numbers.

Oh and there is our script - happy days.

On the kindle I run

cd /mnt/us; . env.sh at login

where /mnt/us/env.sh contains

Code:
#!/bin/sh
export LD_LIBRARY_PATH=/lib:/usr/lib:/mnt/us/lib:/mnt/us/usr/lib
export PATH=$PATH:/mnt/us/bin:/mnt/us/usr/bin
and that seems to work okay.

Hope that helps someone.

BEFORE:

[root@kindle us]# df
Filesystem 1k-blocks Used Available Use% Mounted on
fsp 3202192 1460688 1741504 46% /mnt/us

AFTER:

[root@kindle us]# df
Filesystem 1k-blocks Used Available Use% Mounted on
fsp 3202192 2094320 1107872 65% /mnt/us
[root@kindle us]#

mount.ntfs and resolve.conf still moan but other than those exceptions - peachy transfer.
Attached Thumbnails
Click image for larger version

Name:	Selection_008.png
Views:	419
Size:	27.3 KB
ID:	90971  

Last edited by twobob; 08-18-2012 at 04:58 PM.
twobob is offline   Reply With Quote