Creating root fs

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,705件の閲覧回数
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 解決策
887件の閲覧回数
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 返答(返信)
888件の閲覧回数
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 件の賞賛
返信
887件の閲覧回数
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