Creating root fs

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating root fs

Jump to solution
913 Views
andrewellis
Contributor III

Hi,

For a while I have been working with the rootfs provided by oneiric.tgz as supplied with the ubuntu distribution for the SabreSD board. I need to add my own files to the boot image namely, when I build the kernel I have noticed some of the modules are added to directories in /ltib/rootfs/ I have noticed that my rootfs folder is considerably smaller than the oneiric.tgz. How do I add the changes I made to the rootfs folder to oneiric.tgz.

I previously decompressed oneiric.tgz on my linux build system, copped the contets of rootfs over the top and re compressed the oneiric.tgz folder. This didn't work as the system was unbootable.

Kind regards

Andrew

Labels (2)
1 Solution
95 Views
LeonardoSandova
Specialist I

what files are you trying to add? LTIB creates a filesystem and all pkgs are installed on ltib/rootfs folder. In the other hand, oneiric is an ubuntu filesystem, with different filesystem tree structure; if you need to install packages in Ubuntu, you need to use 'apt-get install' on the embedded device. In case you need to compile code, you need the developing tools (gcc, as, etc) and compile directly (no cross-compilation).

Leo

View solution in original post

0 Kudos
2 Replies
96 Views
LeonardoSandova
Specialist I

what files are you trying to add? LTIB creates a filesystem and all pkgs are installed on ltib/rootfs folder. In the other hand, oneiric is an ubuntu filesystem, with different filesystem tree structure; if you need to install packages in Ubuntu, you need to use 'apt-get install' on the embedded device. In case you need to compile code, you need the developing tools (gcc, as, etc) and compile directly (no cross-compilation).

Leo

View solution in original post

0 Kudos
95 Views
andrewellis
Contributor III

Hi Leo

I needed the video for linux modules, which were built as part of the kernel build. I have track them down and basically copied ltib/rootfs/lib/modules to my embedded system, and it seems to work.

Andrew