[oe] why rootfs directory in temp is empty

Koen Kooi k.kooi at student.utwente.nl
Wed Dec 23 08:57:34 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 22-12-09 23:25, Frans Meulenbroeks wrote:
> 2009/12/22 Denys Dmytriyenko <denis at 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?

The nfs server doesn't run inside the do_rootfs fakeroot sessions and
hence all the permission will be screwed up. If you can teach OE to
respawn the nfs server inside the fakeroot session, you might get away
with it :)

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLMdt+MkyGM64RGpERAjY1AJwPkbebEMCnt2oSjDTXxJLDMJibgQCeKiIR
y343rN9hGQCkMzn8Kx6csBQ=
=zSNI
-----END PGP SIGNATURE-----





More information about the Openembedded-devel mailing list