[OE-core] erratic failure of pseudo

Richard Purdie richard.purdie at linuxfoundation.org
Tue Aug 2 10:11:52 UTC 2011


On Tue, 2011-08-02 at 07:28 +0000, James Limbouris wrote:
> Hi,
> 
> I've just switched to oe-core from -dev, and I'm finding that my root
> images are showing incorrect permissions on files, randomly. From one
> build to the next, different subsets of files and folders end up owned
> by 1000:1000, instead of root:root. They aren't strictly grouped by
> package - just random files, different every time.
> 
> Has anyone else noticed this behaviour? Does anyone have any advice on
> how to go about debugging? It might help to look at the pseudo db, and
> see if the permissions are in there - can anyone tell me where it is?
> I find an empty pseudo folder in the work folder after do_rm_work, but
> it is not there if I do a bitbake -c build image-xxx.
>  

I'd work backwards with this. Check the owners of the files in the
packages, then that either points at the packages themselves or the
rootfs step. I'd also disable rm_work whilst debugging this since it
deletes a lot of the info you might want to use to debug it...

There is the PSEUDO_DEBUG=x environmental variable which can help with
pseudo debugging too...

Cheers,

Richard





More information about the Openembedded-core mailing list