All of lore.kernel.org
 help / color / mirror / Atom feed
* How to build yocto as a root user?
@ 2016-08-09 13:32 jags gediya
  2016-08-09 13:39   ` [yocto] " Philip Balister
  2016-08-09 13:46 ` Gary Thomas
  0 siblings, 2 replies; 7+ messages in thread
From: jags gediya @ 2016-08-09 13:32 UTC (permalink / raw)
  To: yocto@yoctoproject.org, meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 101 bytes --]

I am facing issues while build yocto as root user on ubuntu 14.04.
How can i build as a root user?

[-- Attachment #2: Type: text/html, Size: 131 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How to build yocto as a root user?
  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:46 ` Gary Thomas
  1 sibling, 0 replies; 7+ messages in thread
From: Philip Balister @ 2016-08-09 13:39 UTC (permalink / raw)
  To: jags gediya, yocto@yoctoproject.org,
	meta-freescale@yoctoproject.org

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

> 
> 
> 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [yocto] How to build yocto as a root user?
@ 2016-08-09 13:39   ` Philip Balister
  0 siblings, 0 replies; 7+ messages in thread
From: Philip Balister @ 2016-08-09 13:39 UTC (permalink / raw)
  To: jags gediya, yocto@yoctoproject.org,
	meta-freescale@yoctoproject.org

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

> 
> 
> 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How to build yocto as a root user?
  2016-08-09 13:32 How to build yocto as a root user? jags gediya
  2016-08-09 13:39   ` [yocto] " Philip Balister
@ 2016-08-09 13:46 ` Gary Thomas
  1 sibling, 0 replies; 7+ messages in thread
From: Gary Thomas @ 2016-08-09 13:46 UTC (permalink / raw)
  To: meta-freescale

On 2016-08-09 15:32, 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?

Why do you want to?  Yocto is perfectly complete building as
any [normal] user.  Are you having issues with that?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How to build yocto as a root user?
  2016-08-09 13:39   ` [yocto] " Philip Balister
  (?)
@ 2016-08-09 14:27   ` Jan Lindåker
  2016-08-09 16:12       ` [yocto] " Brian Avery
  -1 siblings, 1 reply; 7+ messages in thread
From: Jan Lindåker @ 2016-08-09 14:27 UTC (permalink / raw)
  To: jags gediya, yocto@yoctoproject.org,
	meta-freescale@yoctoproject.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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How to build yocto as a root user?
  2016-08-09 14:27   ` Jan Lindåker
@ 2016-08-09 16:12       ` Brian Avery
  0 siblings, 0 replies; 7+ messages in thread
From: Brian Avery @ 2016-08-09 16:12 UTC (permalink / raw)
  To: Jan Lindåker
  Cc: jags gediya, yocto@yoctoproject.org,
	meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1558 bytes --]

Yocto includes pseudo which handles the things fakeroot does and a bit more
https://www.yoctoproject.org/tools-resources/projects/pseudo.

-brian
an Intel employee

On Tue, Aug 9, 2016 at 7:27 AM, Jan Lindåker <jan.lindaker@axis.com> wrote:

>
> ________________________________________
> 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
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>

[-- Attachment #2: Type: text/html, Size: 2692 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [yocto] How to build yocto as a root user?
@ 2016-08-09 16:12       ` Brian Avery
  0 siblings, 0 replies; 7+ messages in thread
From: Brian Avery @ 2016-08-09 16:12 UTC (permalink / raw)
  To: Jan Lindåker
  Cc: jags gediya, yocto@yoctoproject.org,
	meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1558 bytes --]

Yocto includes pseudo which handles the things fakeroot does and a bit more
https://www.yoctoproject.org/tools-resources/projects/pseudo.

-brian
an Intel employee

On Tue, Aug 9, 2016 at 7:27 AM, Jan Lindåker <jan.lindaker@axis.com> wrote:

>
> ________________________________________
> 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
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>

[-- Attachment #2: Type: text/html, Size: 2692 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-08-09 16:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2016-08-09 16:12     ` Brian Avery
2016-08-09 16:12       ` [yocto] " Brian Avery
2016-08-09 13:46 ` Gary Thomas

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.