|
From: | Krzysztof Stankiewicz |
Subject: | RE: [Ltib] jffs2 packing question |
Date: | Tue, 23 Nov 2010 12:10:24 +1100 |
What I thought was odd was that I have a 33mb jffs2 file, I mount it, then pack it into another jffs2 file. and I end up with 170mb file. My 33mb jffs2 file should be already pruned.. Also what I know files in /bin directory should all link to one busybox elf and be negligibly small. But in my case they're all 1mb. I also read that jffs2 doesnt support links....it instead makes copy of original for each link...so Im thinking my original jffs2 somehow got around this.. AM I onto something or should I just go with your original suggestion? From: address@hidden Date: Mon, 22 Nov 2010 11:47:51 -0800 Subject: Re: [Ltib] jffs2 packing question To: address@hidden CC: address@hidden You will notice that LTIB does some pruning of the ltib/rootfs tree (copies to ltib/rootfs.tmp) when it generates the file. If you are manually generating rootfs.jffs2 file, you need to do your own pruning. What gets pruned by LTIB is configurable under " --- Target Image Generation"...
Here's the spew I get from ltib. The jffs2 file is actually around 50-ish meg in my case.. Processing deployment operations ==================================
making filesystem image file staging directory is /home/bl/ltib/rootfs.tmp
removing the boot directory and files removing man files and directories removing info files removing /usr/src directory removing /usr/include directory removing /usr/share/locale directory
removing static libraries removing target rpm database stripping binaries and libraries WARN: /home/bl/ltib/rootfs.tmp/sbin/ldconfig statically linked WARN: /home/bl/ltib/rootfs.tmp/sbin/insmod.static statically linked
WARN: /home/bl/ltib/rootfs.tmp/sbin/sln statically linked Filesystem stats, including padding: Total size = 135592k Total number of files = 5013
Saving temporary staging directory: /home/bl/ltib/rootfs.tmp Thanks, Bruce On Mon, Nov 22, 2010 at 1:38 AM, Krzysztof Stankiewicz <address@hidden> wrote:
_______________________________________________ LTIB home page: http://ltib.org Ltib mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/ltib |
[Prev in Thread] | Current Thread | [Next in Thread] |