Yea, I understand. Thanks a lot.

I used to check the rootfs directory quickly, to verify whether or not some packages have been installed correctly and to check the rootfs size. So when I can not find it as usual, I am amazing.

Thank all of you.

在 Wed, 23 Dec 2009 09:07:42 +0800,Khem Raj <raj.k...@gmail.com> 写道:

On Tue, Dec 22, 2009 at 2:46 PM, Philip Balister <phi...@balister.org> wrote:
On 12/22/2009 05:25 PM, Frans Meulenbroeks wrote:

2009/12/22 Denys Dmytriyenko<de...@denix.org>:

On Tue, Dec 22, 2009 at 09:05:31AM -0600, Mike Westerhof wrote:

Guo Hongruan wrote:

Hi guys,
  Today, I build an base-image using OE. And I want to check the
content
of rootfs, but I found the directory rootfs in building directory is
empty. I remember there was the ontent of the target root filesystem.
Why have to remove them? Does it means the rootfs directory is
unuseful?

Thanks a lot!


Add IMAGE_KEEPROOTFS = "1" to your local.conf file.
I'm not sure why the change was made to clean it out every build,
though.

To prevent people from using it as an NFS share and having problems.

Ehm, can you please clarify why this would cause a problem?
(btw if I recall correctly the rootfs is still there in the work dir,
and anyway you can build a rootfs in a tar.gz file and untar that).

Someone correct me if I get this wrong ...

Since OE does not run as root, the file ownership are not suitable for use
as a true rootfs. During the assembly of the tarball, the file owner
information is "fixed" so that if you unpack the tarball as root, the files
have the proper owners.

So the temporary root file system will not do what people expect.

This is the real cause. Always use the tar file to populate the
root file system even if it is to be nfs mounted

-Khem

_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


--
Guo Hongruan, Embedded Linux Consultant
Mobile: +86-0-13484056007
Skype: camelguo
Twitter: camelguo
http://www.gulessoft.com

_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to