All of lore.kernel.org
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: "Vuille, Martin (Martin)" <vmartin@avaya.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: PREFERRED_VERSION for native package
Date: Tue, 19 Jan 2016 10:57:52 -0800	[thread overview]
Message-ID: <3F03BD7D-5DD6-413D-A8F7-7ED84E7A491A@gmail.com> (raw)
In-Reply-To: <30C2D590D16A5C46ADFE65219103779853AC84D6@AZ-US1EXMB03.global.avaya.com>


[-- Attachment #1.1: Type: text/plain, Size: 1987 bytes --]


> On Jan 19, 2016, at 8:13 AM, Vuille, Martin (Martin) <vmartin@avaya.com> wrote:
> 
> OK, found the problem.
> 
> To achieve my objective, the right approach is to add “AGPL-3.0” to INCOMPATIBLE_LICENSE.
> This causes the build to fall back to the older version of db.
> 
> However, I figured this out after finding the following line in poky/meta/conf/distro/include/default-versions.inc:
> 
>                 PREFERRED_VERSION_db-native = ${@incompatible_license_contains('AGPL-3.0', '5.%', '6.%', d)}
> 
> Is it correct that this is an absolute assignment rather than a conditional one? I think my
> PREFERRED_VERSION_db-native assignment would’ve worked if it hadn’t been overridden
> by this one.

its a distro policy based upon licensing if weak assignment is used then the licensing  won’t be able to enforce the decision
if someone overrides it.

> 
> MV
> 
> From: yocto-bounces@yoctoproject.org <mailto:yocto-bounces@yoctoproject.org> [mailto:yocto-bounces@yoctoproject.org <mailto:yocto-bounces@yoctoproject.org>] On Behalf Of Vuille, Martin (Martin)
> Sent: January 19, 2016 8:16 AM
> To: yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>
> Subject: [yocto] PREFERRED_VERSION for native package
> 
> Yocto Fido
> 
> I am trying to use PREFERRED_VERSION to select an earlier version
> of the “db” package. The build includes both db and db-native variants
> of the package.
> 
> I set PREFERRED_VERSION_db variable and this successfully changes
> the version of the db package but not the db-native package.
> 
> I tried also setting PREFERRED_VERSION_db-native but this doesn’t
> seem to have any effect.
> 
> What am I missing? How can I override version for a native package?
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>
> https://lists.yoctoproject.org/listinfo/yocto <https://lists.yoctoproject.org/listinfo/yocto>

[-- Attachment #1.2: Type: text/html, Size: 12159 bytes --]

[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]

  reply	other threads:[~2016-01-19 18:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-19 13:16 PREFERRED_VERSION for native package Vuille, Martin (Martin)
2016-01-19 16:13 ` Vuille, Martin (Martin)
2016-01-19 18:57   ` Khem Raj [this message]
2016-01-19 21:11     ` Vuille, Martin (Martin)

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=3F03BD7D-5DD6-413D-A8F7-7ED84E7A491A@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=vmartin@avaya.com \
    --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.