On 28 September 2017 at 05:51, Khem Raj <[email protected]> wrote:
> On Sat, Sep 23, 2017 at 12:33 PM, Burton, Ross <[email protected]>
> wrote:
> > On 23 September 2017 at 06:56, mohammed aqdam <[email protected]>
> > wrote:
> >>
> >> i'm getting the following error...
> >>
> >> root@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
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto