[buildroot] cramfs creation problems

Surrel Thomas thomas.surrel at innova-card.com
Tue Mar 7 13:52:45 UTC 2006


Hi,

I'm trying to create a cramfs image with buildroot. After the first 
compilation of buildroot, there is no problem and I have a clean rootfs 
image. Problems arise when I am trying to modify the root file system. 
When I add some commands in busybox, then recompile busybox and 
buildroot, the corresponding commands in the new rootfs image are not 
working : they are not links to the busybox binary but files, that 
obviously fail when executed (whereas the busybox binary actually 
contains the commands : if I create manually, on the root file system, a 
symbolic link with the proper name pointing to busybox, it works).

Then, after a number of modifications on the root file system, the 
cramfs creation will just fail with this message :
# mkcramfs: 
/opt/ic-dev/rootfs/buildroot/build_mipsel/cramfs-1.1/mkcramfs:/opt/ic-dev/rootfs/buildroot/build_mipsel/root/lib/ld-uClibc-0.9.28.so: 
Invalid argument
# warning: files were skipped due to errors
The file that cause the "invalid argument" problem changes each time I 
try to create the cramfs image.

These two problems arise each time, with daily snapshots of buildroot 
built from scratch. Any help on how to remove these anoying problems 
would be more than welcome !

Bye,

Thomas

This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and delete
this e-mail from your system.
Innova Card will not therefore be liable for the message if modified.



More information about the uClibc mailing list