All of lore.kernel.org
 help / color / mirror / Atom feed
* Using bitbake in minimal chroot environment
@ 2010-02-14 13:56 Martin Jansa
  2010-02-15 15:24 ` Philip Balister
  2010-02-16 13:52 ` Otavio Salvador
  0 siblings, 2 replies; 18+ messages in thread
From: Martin Jansa @ 2010-02-14 13:56 UTC (permalink / raw)
  To: openembedded-devel

Hi,

I'm just thinking about using bitbake only in minimalistic chroot.

What are advantages/disadvantages?

How I see it:

Advantages:
1) more secure (I started to use separate user for bitbake, when I
   started to play with bitbake master instead release - because that
   warning it said), but chroot is even better.
2) less problems when autotools pick some header or lib from buildhost
   instead of staging
3) easier to check, that -native package is missing for some important
   lib

Disadvantages:
1) Few more MB for building environment (extra libc, gcc, binutils, git, 
   svn, sh, etc. installed in chroot
2) More administrative to keep chroot system updated
3) harder to check, that autotools won't pick something from buildhost
   in normal environment before pushing new version/recipe (ie I won't
   have SDL libs installed in chroot, but everybody else will and maybe
   build will fail for them after I push some recipe.

If nobody points some big disadvantage I didn't think about, I'll give
it a try (with precompilled gentoo stage tarball it's task for half an
hour using cp :)).

Using some sofisticated sandbox setting (as gentoo ebuilds do) would be
also good alternative, is someone trying that?

Regards,

-- 
uin:136542059                jid:Martin.Jansa@gmail.com
Jansa Martin                 sip:jamasip@voip.wengo.fr 
JaMa                         



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

end of thread, other threads:[~2010-02-18 13:33 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-14 13:56 Using bitbake in minimal chroot environment Martin Jansa
2010-02-15 15:24 ` Philip Balister
2010-02-15 16:59   ` Frans Meulenbroeks
2010-02-15 17:19     ` Martin Jansa
2010-02-15 17:57       ` Frans Meulenbroeks
2010-02-15 18:12         ` Martin Jansa
2010-02-15 18:22         ` Mike Westerhof
2010-02-15 18:36           ` Martin Jansa
2010-02-15 18:43       ` Koen Kooi
2010-02-15 20:53         ` Frans Meulenbroeks
2010-02-15 22:04         ` Tom Rini
2010-02-15 22:15           ` Koen Kooi
2010-02-16  8:11           ` Koen Kooi
2010-02-18  9:20           ` Marcin Juszkiewicz
2010-02-18  9:43             ` Koen Kooi
2010-02-18 13:30             ` Henning Heinold
2010-02-16 13:52 ` Otavio Salvador
2010-02-17  9:35   ` Martin Jansa

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.