Creating root fs

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Creating root fs

跳至解决方案
1,665 次查看
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

标签 (2)
1 解答
847 次查看
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

在原帖中查看解决方案

0 项奖励
2 回复数
848 次查看
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

0 项奖励
847 次查看
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