On 28 September 2017 at 05:51, Khem Raj <raj.k...@gmail.com> wrote: > On Sat, Sep 23, 2017 at 12:33 PM, Burton, Ross <ross.bur...@intel.com> > wrote: > > On 23 September 2017 at 06:56, mohammed aqdam <mohammedaq...@gmail.com> > > 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 yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto