From: "Jan Lindåker" <jan.lindaker@axis.com>
To: jags gediya <jags.gediya@gmail.com>,
"yocto@yoctoproject.org" <yocto@yoctoproject.org>,
"meta-freescale@yoctoproject.org"
<meta-freescale@yoctoproject.org>
Subject: Re: How to build yocto as a root user?
Date: Tue, 9 Aug 2016 14:27:15 +0000 [thread overview]
Message-ID: <1470752835429.85250@axis.com> (raw)
In-Reply-To: <1abab03c-09df-8ee1-3472-d3219c225d1f@balister.org>
________________________________________
From: yocto-bounces@yoctoproject.org <yocto-bounces@yoctoproject.org> on behalf of Philip Balister <philip@balister.org>
Sent: Tuesday, August 9, 2016 15:39
To: jags gediya; yocto@yoctoproject.org; meta-freescale@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
next prev parent reply other threads:[~2016-08-09 14:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-09 13:32 How to build yocto as a root user? jags gediya
2016-08-09 13:39 ` Philip Balister
2016-08-09 13:39 ` [yocto] " Philip Balister
2016-08-09 14:27 ` Jan Lindåker [this message]
2016-08-09 16:12 ` Brian Avery
2016-08-09 16:12 ` [yocto] " Brian Avery
2016-08-09 13:46 ` Gary Thomas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1470752835429.85250@axis.com \
--to=jan.lindaker@axis.com \
--cc=jags.gediya@gmail.com \
--cc=meta-freescale@yoctoproject.org \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.