[yocto] Fwd: do_configure error
Burton, Ross
ross.burton at intel.com
Thu Sep 28 02:36:38 PDT 2017
On 28 September 2017 at 05:51, Khem Raj <raj.khem at gmail.com> wrote:
> On Sat, Sep 23, 2017 at 12:33 PM, Burton, Ross <ross.burton at intel.com>
> wrote:
> > On 23 September 2017 at 06:56, mohammed aqdam <mohammedaqdam at gmail.com>
> > wrote:
> >>
> >> i'm getting the following error...
> >>
> >> root at pcz-ee207837-2:/u/my_poky/poky-2/poky/build# bitbake -k
> >> rpi-test-image
> >
> > ^^^^
> >
> >> configure: error: you should not run configure as root
> >
> > As it says, you're running as root. I thought we bailed early if this
> > happened but obviously not. Don't build as root, build as a normal user.
> >
>
> this should be added to sanity check I think
>
I thought it did, and I was right:
def check_sanity_everybuild(status, d):
...
if 0 == os.getuid():
raise_sanity_error("Do not use Bitbake as root.", d)
Either Mohammed's user is called root but doesn't have UID 0, or Mohammed
has disabled sanity.
Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170928/835b2875/attachment.html>
More information about the yocto
mailing list