Patchwork [meta-oe] libnl: bump PE

login
register
mail settings
Submitter Martin Jansa
Date May 16, 2012, 3:18 p.m.
Message ID <1337181494-26467-1-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/27833/
State Accepted
Commit b5abbdc04adcff09b0265b95edb7706b50fb84bb
Headers show

Comments

Martin Jansa - May 16, 2012, 3:18 p.m.
* libnl-2 in oe-core has PE 1, so in order to have upgrade patch from libnl-2 to libnl-3 we need PE 1 here too

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-support/libnl/libnl_3.2.3.bb |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Martin Jansa - May 16, 2012, 5:52 p.m.
On Wed, May 16, 2012 at 05:18:14PM +0200, Martin Jansa wrote:
> * libnl-2 in oe-core has PE 1, so in order to have upgrade patch from libnl-2 to libnl-3 we need PE 1 here too

upgrade path would be even better if someone adds RREPLACES/RCONFLICTS
magic to resolve this:

 * check_data_file_clashes: Package libnl-3-200 wants to install file /etc/libnl/pktloc
   But that file is already provided by package  * libnl2

Cheers,

> 
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
>  meta-oe/recipes-support/libnl/libnl_3.2.3.bb |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/meta-oe/recipes-support/libnl/libnl_3.2.3.bb b/meta-oe/recipes-support/libnl/libnl_3.2.3.bb
> index 190ea4c..38d34bf 100644
> --- a/meta-oe/recipes-support/libnl/libnl_3.2.3.bb
> +++ b/meta-oe/recipes-support/libnl/libnl_3.2.3.bb
> @@ -2,6 +2,8 @@ DESCRIPTION = "libnl is a library for applications dealing with netlink sockets.
>  HOMEPAGE = "http://www.infradead.org/~tgr/libnl/"
>  SECTION = "libs/network"
>  
> +PE = "1"
> +
>  LICENSE = "LGPLv2.1"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=2b41e13261a330ee784153ecbb6a82bc"
>  
> -- 
> 1.7.8.6
>

Patch

diff --git a/meta-oe/recipes-support/libnl/libnl_3.2.3.bb b/meta-oe/recipes-support/libnl/libnl_3.2.3.bb
index 190ea4c..38d34bf 100644
--- a/meta-oe/recipes-support/libnl/libnl_3.2.3.bb
+++ b/meta-oe/recipes-support/libnl/libnl_3.2.3.bb
@@ -2,6 +2,8 @@  DESCRIPTION = "libnl is a library for applications dealing with netlink sockets.
 HOMEPAGE = "http://www.infradead.org/~tgr/libnl/"
 SECTION = "libs/network"
 
+PE = "1"
+
 LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=2b41e13261a330ee784153ecbb6a82bc"