[oe] Error while running bibake

Phil Blundell pb at reciva.com
Tue Dec 1 10:59:54 UTC 2009


On Tue, 2009-12-01 at 05:45 -0500, Robert P. J. Day wrote:
>   if you feel that strongly about it, why not just have bitbake refuse
> to run as root?  seems like a simple solution.

sanity.bbclass does already include a check for non-root:

        if 0 == os.getuid():
                raise_sanity_error("Do not use Bitbake as root.")

I think that ought to be sufficient.  Folks who override the sanity
checking do so at their own risk.

p.






More information about the Openembedded-devel mailing list