All of lore.kernel.org
 help / color / mirror / Atom feed
* DISTRO_FEATURES and shared SSTATE
@ 2013-10-13 15:04 seth bollinger
  2013-10-13 15:42 ` Chris Larson
  0 siblings, 1 reply; 2+ messages in thread
From: seth bollinger @ 2013-10-13 15:04 UTC (permalink / raw)
  To: yocto@yoctoproject.org

Hello All,

How does yocto know which package version to choose for an image if the 
package can be altered (compilation difference, or perhaps config 
alteration, etc.) by a DISTRO_FEATURE?

For instance, if I make a change to sysvinit-inittab/inittab based on a 
DISTRO_FEATURE, I can have multiple versions of sysvinit-inittab, but 
only one shipping package, right?  If I'm building two different images 
that have that DISTRO_FEATURE set differently, won't one of the builds 
have the incorrect sysvinit-inittab package installed?

I believe PAM support would be another good example.

Thanks,

Seth


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

* Re: DISTRO_FEATURES and shared SSTATE
  2013-10-13 15:04 DISTRO_FEATURES and shared SSTATE seth bollinger
@ 2013-10-13 15:42 ` Chris Larson
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Larson @ 2013-10-13 15:42 UTC (permalink / raw)
  To: seth bollinger; +Cc: yocto@yoctoproject.org

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

On Sun, Oct 13, 2013 at 8:04 AM, seth bollinger <seth.boll@gmail.com> wrote:

> How does yocto know which package version to choose for an image if the
> package can be altered (compilation difference, or perhaps config
> alteration, etc.) by a DISTRO_FEATURE?
>
> For instance, if I make a change to sysvinit-inittab/inittab based on a
> DISTRO_FEATURE, I can have multiple versions of sysvinit-inittab, but only
> one shipping package, right?  If I'm building two different images that
> have that DISTRO_FEATURE set differently, won't one of the builds have the
> incorrect sysvinit-inittab package installed?
>

Changing such a variable will alter the checksum of the task, resulting in
re-execution of altered tasks if appropriate, or pulling from a different
sstate archive.
-- 
Christopher Larson

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

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

end of thread, other threads:[~2013-10-13 15:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-13 15:04 DISTRO_FEATURES and shared SSTATE seth bollinger
2013-10-13 15:42 ` Chris Larson

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.