________________________________________
From: yocto-boun...@yoctoproject.org <yocto-boun...@yoctoproject.org> on behalf 
of Philip Balister <phi...@balister.org>
Sent: Tuesday, August 9, 2016 15:39
To: jags gediya; yocto@yoctoproject.org; meta-freesc...@yoctoproject.org
Subject: Re: [yocto] How to build yocto as a root user?

On 08/09/2016 09:32 AM, jags gediya wrote:
> > I am facing issues while build yocto as root user on ubuntu 14.04.
> > How can i build as a root user?
> 
> Do not do this, it is a terrible idea. Create a user account and build
> there.
> 
> Philip

You are right Philip, for building with yocto/bitbake it is a bad idea. I only 
read the part with becoming root, and forgot that I do not build as root.

However,  to be able to build a usable file system that installs on target I 
think installing fakeroot is necessary:
$ sudo apt-get install fakeroot 
$ man fakeroot

/BR Jan

>
>
>
--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to