All of lore.kernel.org
 help / color / mirror / Atom feed
* Building a package of one version for target, and another version for native
@ 2022-01-28 10:42 Robert Tiemann
  2022-01-28 19:18 ` [poky] " Peter Kjellerstedt
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Tiemann @ 2022-01-28 10:42 UTC (permalink / raw)
  To: poky

Hi!

Is it possible to build packages so that the versions for native and
target builds are different (using dunfell here)?

My goal is to use gnutls and nettle in the version as shipped with
dunfell (3.6.12 and 3.5.1, respectively) for the native tool chain,
but a more recent version for the target. Simply upgrading the version
for both, native and target, works, but then all RPM packages get
rebuilt (not taken from sstate), and this is a problem for me.

So, I have added recipes for upgraded versions of gnutls and nettle to
my own layer, and in my layer's distro configuration I tried

PREFERRED_VERSION_gnutls-native = "3.6.12"
PREFERRED_VERSION_nettle-native = "3.5.1"

and

PREFERRED_VERSION_pn-gnutls-native = "3.6.12"
PREFERRED_VERSION_pn-nettle-native = "3.5.1"

and also

PREFERRED_VERSION_gnutls-native_forcevariable = "3.6.12"
PREFERRED_VERSION_nettle-native_forcevariable = "3.5.1"

and

PREFERRED_VERSION_pn-gnutls-native_forcevariable = "3.6.12"
PREFERRED_VERSION_pn-nettle-native_forcevariable = "3.5.1"

but all of these seem to get ignored. I always end up with the more
recent versions for the native builds.

What is it what I am missing here?

Cheers,
Robert

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

end of thread, other threads:[~2022-02-08 11:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-28 10:42 Building a package of one version for target, and another version for native Robert Tiemann
2022-01-28 19:18 ` [poky] " Peter Kjellerstedt
2022-02-08 11:36   ` Robert Tiemann

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.