Re: [oe] [PATCH] fix license from Apache-2.0 to MIT

2018-07-06 Thread Khem Raj
On Fri, Jul 6, 2018 at 6:16 PM akuster808  wrote:
>
>
>
> On 07/05/2018 11:26 PM, Takuma Ueba wrote:
> > Signed-off-by: Takuma Ueba 
> > ---
> >  meta-python/recipes-devtools/python/python-asn1crypto.inc | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/meta-python/recipes-devtools/python/python-asn1crypto.inc 
> > b/meta-python/recipes-devtools/python/python-asn1crypto.inc
> > index 5c379956f..660bf09a7 100644
> > --- a/meta-python/recipes-devtools/python/python-asn1crypto.inc
> > +++ b/meta-python/recipes-devtools/python/python-asn1crypto.inc
> > @@ -1,7 +1,7 @@
> >  DESCRIPTION = "Python binding to the Networking and Cryptography (NaCl) 
> > library"
> >  HOMEPAGE = "https://github.com/pyca/pynacl";
> >  SECTION = "devel/python"
> > -LICENSE = "Apache-2.0"
> > +LICENSE = "MIT"
>
> Why did the LICENSE change? maybe not that in the commit message. It
> helps the stable branch maintainer to decide if this needs to propagate
> to other branches.
>

I dont think it changed, the SRC_URI for this is

https://github.com/wbond/asn1crypto

I am not sure if homepage is correct for this

> - armin
> >  LIC_FILES_CHKSUM = "file://LICENSE;md5=52010cd3c7d7bd965b55721ef4d93ec2"
> >
> >  PYPI_PACKAGE = "asn1crypto"
>
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-networking][PATCH][master][sumo] iscsitarget: Remove recipe as it is no longer supported to build with linux kernel >= 4.14

2018-07-06 Thread Jagadeesh Krishnanjanappa
Hi Armin,

On 07/06/2018 10:33 AM, Jagadeesh Krishnanjanappa wrote:
> > The upstream iscsitarget source does not have support to build
> > with Linux kernel >= 4.14, as the "struct bio" members has been updated
> > in the linux kernel v4.14 source. Requires major code change in
> > iscsitarget to support building later versions of Linux kernel.
> >
> > The Linux SCSI target framework (tgt) recipe present in meta-openstack
> > layer, can be used as a substitute to iscsitarget recipe and works fine
> > in our testing.
> Why not port the tft to meta-openembeded then ?
>
> Do you mean migrate tgt recipe from meta-openstack layer to
meta-networking layer?
If yes, I can submit the patch for that.

I wont remove blacklisted packages from a stable release. It will still
> work on kernels < 4.14  with is still in sumo core.
>
> Agree. Would it be taken for Thud (2.6) release?

Regards,
Jagadeesh


> - armin
> >
> > Signed-off-by: Jagadeesh Krishnanjanappa 
> > ---
> >  ...vent-netlink_ack-now-requires-4-arguments.patch |  40 --
> >  .../access-sk_v6_daddr-iff-IPV6-defined.patch  |  28 --
> >  ...pdated_bio_struct_of_linux_v4.3_and_above.patch | 108 -
> >  ...pdated_interfaces_of_linux_v4.8_and_above.patch | 475
> -
> >  .../fix-call-trace-of-ahash-API-calling.patch  |  85 
> >  ...rors-observed-with-linux-3.19-and-greater.patch | 327 --
> >  ...use-kernel-makefile-to-get-kernel-version.patch |  67 ---
> >  .../iscsitarget/iscsitarget_1.4.20.3+svn502.bb |  64 ---
> >  8 files changed, 1194 deletions(-)
> >  delete mode 100644 meta-networking/recipes-extended/iscsitarget/files/
> 0001-kernel-event-netlink_ack-now-requires-4-arguments.patch
> >  delete mode 100644 meta-networking/recipes-extended/iscsitarget/files/
> access-sk_v6_daddr-iff-IPV6-defined.patch
> >  delete mode 100644 meta-networking/recipes-extended/iscsitarget/files/
> build_with_updated_bio_struct_of_linux_v4.3_and_above.patch
> >  delete mode 100644 meta-networking/recipes-extended/iscsitarget/files/
> build_with_updated_interfaces_of_linux_v4.8_and_above.patch
> >  delete mode 100644 meta-networking/recipes-extended/iscsitarget/files/
> fix-call-trace-of-ahash-API-calling.patch
> >  delete mode 100644 meta-networking/recipes-extended/iscsitarget/files/
> fix-errors-observed-with-linux-3.19-and-greater.patch
> >  delete mode 100644 meta-networking/recipes-extended/iscsitarget/files/
> use-kernel-makefile-to-get-kernel-version.patch
> >  delete mode 100644 meta-networking/recipes-extended/iscsitarget/
> iscsitarget_1.4.20.3+svn502.bb
> >
> > diff --git a/meta-networking/recipes-extended/iscsitarget/files/
> 0001-kernel-event-netlink_ack-now-requires-4-arguments.patch
> b/meta-networking/recipes-extended/iscsitarget/files/
> 0001-kernel-event-netlink_ack-now-requires-4-arguments.patch
> > deleted file mode 100644
> > index 4426d35..000
> > --- a/meta-networking/recipes-extended/iscsitarget/files/
> 0001-kernel-event-netlink_ack-now-requires-4-arguments.patch
> > +++ /dev/null
> > @@ -1,40 +0,0 @@
> > -From cbc5f8151017f45231b75a826f18354a81c287c4 Mon Sep 17 00:00:00 2001
> > -From: Khem Raj 
> > -Date: Sat, 26 Aug 2017 07:52:59 -0700
> > -Subject: [PATCH] kernel/event: netlink_ack() now requires 4 arguments
> > -
> > -see https://patchwork.kernel.org/patch/9670181/
> > -
> > -event.c:32:4: error: too few arguments to function 'netlink_ack'
> > -| netlink_ack(skb, nlh, 0);
> > -| ^~~
> > -
> > -Signed-off-by: Khem Raj 
> > 
> > - kernel/event.c | 2 +-
> > - 1 file changed, 1 insertion(+), 1 deletion(-)
> > -
> > -Index: iscsitarget-1.4.20.3+svn502/kernel/event.c
> > -===
> >  iscsitarget-1.4.20.3+svn502.orig/kernel/event.c
> > -+++ iscsitarget-1.4.20.3+svn502/kernel/event.c
> > -@@ -6,6 +6,7 @@
> > -  * Some functions are based on audit code.
> > -  */
> > -
> > -+#include 
> > - #include 
> > - #include 
> > - #include "iet_u.h"
> > -@@ -29,7 +30,11 @@ static void event_recv_skb(struct sk_buf
> > - ietd_pid = NETLINK_CB(skb).portid;
> > - WARN_ON(ietd_pid == 0);
> > - if (nlh->nlmsg_flags & NLM_F_ACK)
> > -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
> > -+netlink_ack(skb, nlh, 0, NULL);
> > -+#else
> > - netlink_ack(skb, nlh, 0);
> > -+#endif
> > - skb_pull(skb, rlen);
> > - }
> > - }
> > diff --git a/meta-networking/recipes-extended/iscsitarget/files/
> access-sk_v6_daddr-iff-IPV6-defined.patch b/meta-networking/recipes-
> extended/iscsitarget/files/access-sk_v6_daddr-iff-IPV6-defined.patch
> > deleted file mode 100644
> > index 234..000
> > --- a/meta-networking/recipes-extended/iscsitarget/files/
> access-sk_v6_daddr-iff-IPV6-defined.patch
> > +++ /dev/null
> > @@ -1,28 +0,0 @@
> > -The element skc_v6_daddr (in struct sock_common) is defined in
> > -kernel source only when CONFIG_IPV6 is enabled. Hence

Re: [oe] [PATCH] kernel-devicetree.bbclass: DTB make targets may contain path components

2018-07-06 Thread Khem Raj
On Fri, Jul 6, 2018 at 6:13 PM akuster808  wrote:

>
>
> On 07/06/2018 02:25 PM, Khem Raj wrote:
> > On Fri, Jul 6, 2018 at 12:02 PM Jonathan Haigh 
> wrote:
> >> normalize_dtb() turns DTS and DTB paths into values that can be used as
> >> make targets. These make targets sometimes contain some directory
> components
> >> so 'basename' is not suitable for turning the paths into make targets -
> >> we should only strip off leading directory components of the path up to
> >> and including the 'dts' directory (if it exists). For example:
> >> * 'overlays/at86rf233.dtbo' should not be changed.
> >> * 'some/directory/path/dts/overlays/at86rf233.dtbo' should be changed to
> >>   'overlays/at86rf233.dtbo' rather than just 'at86rf233.dtbo'
> >>
> >> Signed-off-by: Jonathan Haigh 
> >> ---
> >>  meta/classes/kernel-devicetree.bbclass | 5 +++--
> >>  1 file changed, 3 insertions(+), 2 deletions(-)
> >>
> >> diff --git a/meta/classes/kernel-devicetree.bbclass
> b/meta/classes/kernel-devicetree.bbclass
> >> index 9866d84..0ffa8e9 100644
> >> --- a/meta/classes/kernel-devicetree.bbclass
> >> +++ b/meta/classes/kernel-devicetree.bbclass
> >> @@ -12,9 +12,10 @@ KERNEL_DEVICETREE_BUNDLE ?= "0"
> >>  normalize_dtb () {
> >>  DTB="$1"
> >>  if echo ${DTB} | grep -q '/dts/'; then
> >> -   bbwarn "${DTB} contains the full path to the the dts
> file, but only the dtb name should be used."
> >> +   bbwarn "${DTB} contains the full path to the the dts
> file, but the path should be relative to the dts directory."
> >> +   DTB=`echo "${DTB}" | sed 's,^.*/dts/,,'`
> >>  fi
> >> -   DTB=`basename ${DTB} | sed 's,\.dts$,.dtb,g'`
> >> +   DTB=`echo "${DTB}" | sed 's,\.dts$,.dtb,g'`
> > This patch is fine however, you should rebase it on top of master as of
> today.
> > secondly, this should be sent to oe-core mailing list since its
> > changing that layer
>
> this landed in master already. patch was posted earlier this week.
>
>
> http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=8b9264824689e99fb257901be3c0f91f79f920ef
> >


They are different patches

>
> >>  echo "${DTB}"
> >>  }
> >>
> >> --
> >> 2.7.4
> >>
> >>
> >> IMPORTANT NOTICE: The contents of this email and any attachments are
> confidential and may also be privileged. If you are not the intended
> recipient, please notify the sender immediately and do not disclose the
> contents to any other person, use it for any purpose, or store or copy the
> information in any medium. Thank you.
> >> --
> >> ___
> >> Openembedded-devel mailing list
> >> Openembedded-devel@lists.openembedded.org
> >> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH] fix license from Apache-2.0 to MIT

2018-07-06 Thread Bruce Ashfield
On Fri, Jul 6, 2018 at 9:15 PM, akuster808  wrote:
>
>
> On 07/05/2018 11:26 PM, Takuma Ueba wrote:
>> Signed-off-by: Takuma Ueba 
>> ---
>>  meta-python/recipes-devtools/python/python-asn1crypto.inc | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta-python/recipes-devtools/python/python-asn1crypto.inc 
>> b/meta-python/recipes-devtools/python/python-asn1crypto.inc
>> index 5c379956f..660bf09a7 100644
>> --- a/meta-python/recipes-devtools/python/python-asn1crypto.inc
>> +++ b/meta-python/recipes-devtools/python/python-asn1crypto.inc
>> @@ -1,7 +1,7 @@
>>  DESCRIPTION = "Python binding to the Networking and Cryptography (NaCl) 
>> library"
>>  HOMEPAGE = "https://github.com/pyca/pynacl";
>>  SECTION = "devel/python"
>> -LICENSE = "Apache-2.0"
>> +LICENSE = "MIT"
>
> Why did the LICENSE change? maybe not that in the commit message. It
> helps the stable branch maintainer to decide if this needs to propagate
> to other branches.

I was wondering the same thing, and didn't get a chance to check! I
probably should have just asked :D

Bruce

>
> - armin
>>  LIC_FILES_CHKSUM = "file://LICENSE;md5=52010cd3c7d7bd965b55721ef4d93ec2"
>>
>>  PYPI_PACKAGE = "asn1crypto"
>
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH] fix license from Apache-2.0 to MIT

2018-07-06 Thread akuster808



On 07/05/2018 11:26 PM, Takuma Ueba wrote:
> Signed-off-by: Takuma Ueba 
> ---
>  meta-python/recipes-devtools/python/python-asn1crypto.inc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-python/recipes-devtools/python/python-asn1crypto.inc 
> b/meta-python/recipes-devtools/python/python-asn1crypto.inc
> index 5c379956f..660bf09a7 100644
> --- a/meta-python/recipes-devtools/python/python-asn1crypto.inc
> +++ b/meta-python/recipes-devtools/python/python-asn1crypto.inc
> @@ -1,7 +1,7 @@
>  DESCRIPTION = "Python binding to the Networking and Cryptography (NaCl) 
> library"
>  HOMEPAGE = "https://github.com/pyca/pynacl";
>  SECTION = "devel/python"
> -LICENSE = "Apache-2.0"
> +LICENSE = "MIT"

Why did the LICENSE change? maybe not that in the commit message. It
helps the stable branch maintainer to decide if this needs to propagate
to other branches.

- armin
>  LIC_FILES_CHKSUM = "file://LICENSE;md5=52010cd3c7d7bd965b55721ef4d93ec2"
>  
>  PYPI_PACKAGE = "asn1crypto"

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH] kernel-devicetree.bbclass: DTB make targets may contain path components

2018-07-06 Thread akuster808



On 07/06/2018 02:25 PM, Khem Raj wrote:
> On Fri, Jul 6, 2018 at 12:02 PM Jonathan Haigh  wrote:
>> normalize_dtb() turns DTS and DTB paths into values that can be used as
>> make targets. These make targets sometimes contain some directory components
>> so 'basename' is not suitable for turning the paths into make targets -
>> we should only strip off leading directory components of the path up to
>> and including the 'dts' directory (if it exists). For example:
>> * 'overlays/at86rf233.dtbo' should not be changed.
>> * 'some/directory/path/dts/overlays/at86rf233.dtbo' should be changed to
>>   'overlays/at86rf233.dtbo' rather than just 'at86rf233.dtbo'
>>
>> Signed-off-by: Jonathan Haigh 
>> ---
>>  meta/classes/kernel-devicetree.bbclass | 5 +++--
>>  1 file changed, 3 insertions(+), 2 deletions(-)
>>
>> diff --git a/meta/classes/kernel-devicetree.bbclass 
>> b/meta/classes/kernel-devicetree.bbclass
>> index 9866d84..0ffa8e9 100644
>> --- a/meta/classes/kernel-devicetree.bbclass
>> +++ b/meta/classes/kernel-devicetree.bbclass
>> @@ -12,9 +12,10 @@ KERNEL_DEVICETREE_BUNDLE ?= "0"
>>  normalize_dtb () {
>>  DTB="$1"
>>  if echo ${DTB} | grep -q '/dts/'; then
>> -   bbwarn "${DTB} contains the full path to the the dts file, 
>> but only the dtb name should be used."
>> +   bbwarn "${DTB} contains the full path to the the dts file, 
>> but the path should be relative to the dts directory."
>> +   DTB=`echo "${DTB}" | sed 's,^.*/dts/,,'`
>>  fi
>> -   DTB=`basename ${DTB} | sed 's,\.dts$,.dtb,g'`
>> +   DTB=`echo "${DTB}" | sed 's,\.dts$,.dtb,g'`
> This patch is fine however, you should rebase it on top of master as of today.
> secondly, this should be sent to oe-core mailing list since its
> changing that layer

this landed in master already. patch was posted earlier this week.

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=8b9264824689e99fb257901be3c0f91f79f920ef
>
>>  echo "${DTB}"
>>  }
>>
>> --
>> 2.7.4
>>
>>
>> IMPORTANT NOTICE: The contents of this email and any attachments are 
>> confidential and may also be privileged. If you are not the intended 
>> recipient, please notify the sender immediately and do not disclose the 
>> contents to any other person, use it for any purpose, or store or copy the 
>> information in any medium. Thank you.
>> --
>> ___
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-networking][PATCH][master][sumo] iscsitarget: Remove recipe as it is no longer supported to build with linux kernel >= 4.14

2018-07-06 Thread akuster808


On 07/06/2018 10:33 AM, Jagadeesh Krishnanjanappa wrote:
> The upstream iscsitarget source does not have support to build
> with Linux kernel >= 4.14, as the "struct bio" members has been updated
> in the linux kernel v4.14 source. Requires major code change in
> iscsitarget to support building later versions of Linux kernel.
>
> The Linux SCSI target framework (tgt) recipe present in meta-openstack
> layer, can be used as a substitute to iscsitarget recipe and works fine
> in our testing.
Why not port the tft to meta-openembeded then ?

I wont remove blacklisted packages from a stable release. It will still
work on kernels < 4.14  with is still in sumo core.

- armin
>
> Signed-off-by: Jagadeesh Krishnanjanappa 
> ---
>  ...vent-netlink_ack-now-requires-4-arguments.patch |  40 --
>  .../access-sk_v6_daddr-iff-IPV6-defined.patch  |  28 --
>  ...pdated_bio_struct_of_linux_v4.3_and_above.patch | 108 -
>  ...pdated_interfaces_of_linux_v4.8_and_above.patch | 475 
> -
>  .../fix-call-trace-of-ahash-API-calling.patch  |  85 
>  ...rors-observed-with-linux-3.19-and-greater.patch | 327 --
>  ...use-kernel-makefile-to-get-kernel-version.patch |  67 ---
>  .../iscsitarget/iscsitarget_1.4.20.3+svn502.bb |  64 ---
>  8 files changed, 1194 deletions(-)
>  delete mode 100644 
> meta-networking/recipes-extended/iscsitarget/files/0001-kernel-event-netlink_ack-now-requires-4-arguments.patch
>  delete mode 100644 
> meta-networking/recipes-extended/iscsitarget/files/access-sk_v6_daddr-iff-IPV6-defined.patch
>  delete mode 100644 
> meta-networking/recipes-extended/iscsitarget/files/build_with_updated_bio_struct_of_linux_v4.3_and_above.patch
>  delete mode 100644 
> meta-networking/recipes-extended/iscsitarget/files/build_with_updated_interfaces_of_linux_v4.8_and_above.patch
>  delete mode 100644 
> meta-networking/recipes-extended/iscsitarget/files/fix-call-trace-of-ahash-API-calling.patch
>  delete mode 100644 
> meta-networking/recipes-extended/iscsitarget/files/fix-errors-observed-with-linux-3.19-and-greater.patch
>  delete mode 100644 
> meta-networking/recipes-extended/iscsitarget/files/use-kernel-makefile-to-get-kernel-version.patch
>  delete mode 100644 
> meta-networking/recipes-extended/iscsitarget/iscsitarget_1.4.20.3+svn502.bb
>
> diff --git 
> a/meta-networking/recipes-extended/iscsitarget/files/0001-kernel-event-netlink_ack-now-requires-4-arguments.patch
>  
> b/meta-networking/recipes-extended/iscsitarget/files/0001-kernel-event-netlink_ack-now-requires-4-arguments.patch
> deleted file mode 100644
> index 4426d35..000
> --- 
> a/meta-networking/recipes-extended/iscsitarget/files/0001-kernel-event-netlink_ack-now-requires-4-arguments.patch
> +++ /dev/null
> @@ -1,40 +0,0 @@
> -From cbc5f8151017f45231b75a826f18354a81c287c4 Mon Sep 17 00:00:00 2001
> -From: Khem Raj 
> -Date: Sat, 26 Aug 2017 07:52:59 -0700
> -Subject: [PATCH] kernel/event: netlink_ack() now requires 4 arguments
> -
> -see https://patchwork.kernel.org/patch/9670181/
> -
> -event.c:32:4: error: too few arguments to function 'netlink_ack'
> -| netlink_ack(skb, nlh, 0);
> -| ^~~
> -
> -Signed-off-by: Khem Raj 
> 
> - kernel/event.c | 2 +-
> - 1 file changed, 1 insertion(+), 1 deletion(-)
> -
> -Index: iscsitarget-1.4.20.3+svn502/kernel/event.c
> -===
>  iscsitarget-1.4.20.3+svn502.orig/kernel/event.c
> -+++ iscsitarget-1.4.20.3+svn502/kernel/event.c
> -@@ -6,6 +6,7 @@
> -  * Some functions are based on audit code.
> -  */
> - 
> -+#include 
> - #include 
> - #include 
> - #include "iet_u.h"
> -@@ -29,7 +30,11 @@ static void event_recv_skb(struct sk_buf
> - ietd_pid = NETLINK_CB(skb).portid;
> - WARN_ON(ietd_pid == 0);
> - if (nlh->nlmsg_flags & NLM_F_ACK)
> -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
> -+netlink_ack(skb, nlh, 0, NULL);
> -+#else
> - netlink_ack(skb, nlh, 0);
> -+#endif
> - skb_pull(skb, rlen);
> - }
> - }
> diff --git 
> a/meta-networking/recipes-extended/iscsitarget/files/access-sk_v6_daddr-iff-IPV6-defined.patch
>  
> b/meta-networking/recipes-extended/iscsitarget/files/access-sk_v6_daddr-iff-IPV6-defined.patch
> deleted file mode 100644
> index 234..000
> --- 
> a/meta-networking/recipes-extended/iscsitarget/files/access-sk_v6_daddr-iff-IPV6-defined.patch
> +++ /dev/null
> @@ -1,28 +0,0 @@
> -The element skc_v6_daddr (in struct sock_common) is defined in 
> -kernel source only when CONFIG_IPV6 is enabled. Hence, access 
> -sk_v6_daddr element (i.e __sk_common.skc_v6_daddr) only when CONFIG_IPV6 
> -is defined; to fix below error in world build:
> -
> --- snip --
> -/home/jenkins/oe/world/shr-core/tmp-glibc/work-shared/qemux86/kernel-source/include/net/sock.h:330:33:
>  error: 'struct sock_common' has no member named 'skc_v6_daddr'
> --- CUT --
> -
> -Upstream-Status: Pending
> -

Re: [oe] [meta-networking][PATCH][master][sumo] iscsitarget: Remove recipe as it is no longer supported to build with linux kernel >= 4.14

2018-07-06 Thread Khem Raj
On Fri, Jul 6, 2018 at 12:03 PM Jagadeesh Krishnanjanappa
 wrote:
>
> The upstream iscsitarget source does not have support to build
> with Linux kernel >= 4.14, as the "struct bio" members has been updated
> in the linux kernel v4.14 source. Requires major code change in
> iscsitarget to support building later versions of Linux kernel.
>
> The Linux SCSI target framework (tgt) recipe present in meta-openstack
> layer, can be used as a substitute to iscsitarget recipe and works fine
> in our testing.
>

I am generally fine with this patch, if someone has interest in this
feature then  I would suggest to
migrate the recipe from meta-openstack into meta-oe and we can
maintain it here otherwise we
can live without this recipe as well.


> Signed-off-by: Jagadeesh Krishnanjanappa 
> ---
>  ...vent-netlink_ack-now-requires-4-arguments.patch |  40 --
>  .../access-sk_v6_daddr-iff-IPV6-defined.patch  |  28 --
>  ...pdated_bio_struct_of_linux_v4.3_and_above.patch | 108 -
>  ...pdated_interfaces_of_linux_v4.8_and_above.patch | 475 
> -
>  .../fix-call-trace-of-ahash-API-calling.patch  |  85 
>  ...rors-observed-with-linux-3.19-and-greater.patch | 327 --
>  ...use-kernel-makefile-to-get-kernel-version.patch |  67 ---
>  .../iscsitarget/iscsitarget_1.4.20.3+svn502.bb |  64 ---
>  8 files changed, 1194 deletions(-)
>  delete mode 100644 
> meta-networking/recipes-extended/iscsitarget/files/0001-kernel-event-netlink_ack-now-requires-4-arguments.patch
>  delete mode 100644 
> meta-networking/recipes-extended/iscsitarget/files/access-sk_v6_daddr-iff-IPV6-defined.patch
>  delete mode 100644 
> meta-networking/recipes-extended/iscsitarget/files/build_with_updated_bio_struct_of_linux_v4.3_and_above.patch
>  delete mode 100644 
> meta-networking/recipes-extended/iscsitarget/files/build_with_updated_interfaces_of_linux_v4.8_and_above.patch
>  delete mode 100644 
> meta-networking/recipes-extended/iscsitarget/files/fix-call-trace-of-ahash-API-calling.patch
>  delete mode 100644 
> meta-networking/recipes-extended/iscsitarget/files/fix-errors-observed-with-linux-3.19-and-greater.patch
>  delete mode 100644 
> meta-networking/recipes-extended/iscsitarget/files/use-kernel-makefile-to-get-kernel-version.patch
>  delete mode 100644 
> meta-networking/recipes-extended/iscsitarget/iscsitarget_1.4.20.3+svn502.bb
>
> diff --git 
> a/meta-networking/recipes-extended/iscsitarget/files/0001-kernel-event-netlink_ack-now-requires-4-arguments.patch
>  
> b/meta-networking/recipes-extended/iscsitarget/files/0001-kernel-event-netlink_ack-now-requires-4-arguments.patch
> deleted file mode 100644
> index 4426d35..000
> --- 
> a/meta-networking/recipes-extended/iscsitarget/files/0001-kernel-event-netlink_ack-now-requires-4-arguments.patch
> +++ /dev/null
> @@ -1,40 +0,0 @@
> -From cbc5f8151017f45231b75a826f18354a81c287c4 Mon Sep 17 00:00:00 2001
> -From: Khem Raj 
> -Date: Sat, 26 Aug 2017 07:52:59 -0700
> -Subject: [PATCH] kernel/event: netlink_ack() now requires 4 arguments
> -
> -see https://patchwork.kernel.org/patch/9670181/
> -
> -event.c:32:4: error: too few arguments to function 'netlink_ack'
> -| netlink_ack(skb, nlh, 0);
> -| ^~~
> -
> -Signed-off-by: Khem Raj 
> 
> - kernel/event.c | 2 +-
> - 1 file changed, 1 insertion(+), 1 deletion(-)
> -
> -Index: iscsitarget-1.4.20.3+svn502/kernel/event.c
> -===
>  iscsitarget-1.4.20.3+svn502.orig/kernel/event.c
> -+++ iscsitarget-1.4.20.3+svn502/kernel/event.c
> -@@ -6,6 +6,7 @@
> -  * Some functions are based on audit code.
> -  */
> -
> -+#include 
> - #include 
> - #include 
> - #include "iet_u.h"
> -@@ -29,7 +30,11 @@ static void event_recv_skb(struct sk_buf
> -   ietd_pid = NETLINK_CB(skb).portid;
> -   WARN_ON(ietd_pid == 0);
> -   if (nlh->nlmsg_flags & NLM_F_ACK)
> -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
> -+  netlink_ack(skb, nlh, 0, NULL);
> -+#else
> -   netlink_ack(skb, nlh, 0);
> -+#endif
> -   skb_pull(skb, rlen);
> -   }
> - }
> diff --git 
> a/meta-networking/recipes-extended/iscsitarget/files/access-sk_v6_daddr-iff-IPV6-defined.patch
>  
> b/meta-networking/recipes-extended/iscsitarget/files/access-sk_v6_daddr-iff-IPV6-defined.patch
> deleted file mode 100644
> index 234..000
> --- 
> a/meta-networking/recipes-extended/iscsitarget/files/access-sk_v6_daddr-iff-IPV6-defined.patch
> +++ /dev/null
> @@ -1,28 +0,0 @@
> -The element skc_v6_daddr (in struct sock_common) is defined in
> -kernel source only when CONFIG_IPV6 is enabled. Hence, access
> -sk_v6_daddr element (i.e __sk_common.skc_v6_daddr) only when CONFIG_IPV6
> -is defined; to fix below error in world build:
> -
> --- snip --
> -/home/jenkins/oe/world/shr-core/tmp-glibc/work-shared/qemux86/kernel-source/include/net/sock.h:330:33:
>  error: 'struct sock_common' has no memb

Re: [oe] [PATCH] kernel-devicetree.bbclass: DTB make targets may contain path components

2018-07-06 Thread Khem Raj
On Fri, Jul 6, 2018 at 12:02 PM Jonathan Haigh  wrote:
>
> normalize_dtb() turns DTS and DTB paths into values that can be used as
> make targets. These make targets sometimes contain some directory components
> so 'basename' is not suitable for turning the paths into make targets -
> we should only strip off leading directory components of the path up to
> and including the 'dts' directory (if it exists). For example:
> * 'overlays/at86rf233.dtbo' should not be changed.
> * 'some/directory/path/dts/overlays/at86rf233.dtbo' should be changed to
>   'overlays/at86rf233.dtbo' rather than just 'at86rf233.dtbo'
>
> Signed-off-by: Jonathan Haigh 
> ---
>  meta/classes/kernel-devicetree.bbclass | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/meta/classes/kernel-devicetree.bbclass 
> b/meta/classes/kernel-devicetree.bbclass
> index 9866d84..0ffa8e9 100644
> --- a/meta/classes/kernel-devicetree.bbclass
> +++ b/meta/classes/kernel-devicetree.bbclass
> @@ -12,9 +12,10 @@ KERNEL_DEVICETREE_BUNDLE ?= "0"
>  normalize_dtb () {
>  DTB="$1"
>  if echo ${DTB} | grep -q '/dts/'; then
> -   bbwarn "${DTB} contains the full path to the the dts file, 
> but only the dtb name should be used."
> +   bbwarn "${DTB} contains the full path to the the dts file, 
> but the path should be relative to the dts directory."
> +   DTB=`echo "${DTB}" | sed 's,^.*/dts/,,'`
>  fi
> -   DTB=`basename ${DTB} | sed 's,\.dts$,.dtb,g'`
> +   DTB=`echo "${DTB}" | sed 's,\.dts$,.dtb,g'`

This patch is fine however, you should rebase it on top of master as of today.
secondly, this should be sent to oe-core mailing list since its
changing that layer

>  echo "${DTB}"
>  }
>
> --
> 2.7.4
>
>
> IMPORTANT NOTICE: The contents of this email and any attachments are 
> confidential and may also be privileged. If you are not the intended 
> recipient, please notify the sender immediately and do not disclose the 
> contents to any other person, use it for any purpose, or store or copy the 
> information in any medium. Thank you.
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH] vim: update to 8.1.0155

2018-07-06 Thread Khem Raj
On Fri, Jul 6, 2018 at 2:14 AM Leon Anavi  wrote:
>
> Update vim to the latest version 8.1.0155.
>
> Signed-off-by: Leon Anavi 
> ---
>  meta-oe/recipes-support/vim/vim-tiny_8.1.0.116.bb |  13 ---
>  meta-oe/recipes-support/vim/vim-tiny_8.1.0155.bb  |  13 +++
>  meta-oe/recipes-support/vim/vim_8.1.0.116.bb  | 113 
> --
>  meta-oe/recipes-support/vim/vim_8.1.0155.bb   | 113 
> ++
>  4 files changed, 126 insertions(+), 126 deletions(-)
>  delete mode 100644 meta-oe/recipes-support/vim/vim-tiny_8.1.0.116.bb
>  create mode 100644 meta-oe/recipes-support/vim/vim-tiny_8.1.0155.bb
>  delete mode 100644 meta-oe/recipes-support/vim/vim_8.1.0.116.bb
>  create mode 100644 meta-oe/recipes-support/vim/vim_8.1.0155.bb
>

this patch is ok however I would suggest that you add

[diff]
renames = copies

to your ~/.gitconfig this will help git detect renames and make
patches easier to review.

> diff --git a/meta-oe/recipes-support/vim/vim-tiny_8.1.0.116.bb 
> b/meta-oe/recipes-support/vim/vim-tiny_8.1.0.116.bb
> deleted file mode 100644
> index bb8f2b7..000
> --- a/meta-oe/recipes-support/vim/vim-tiny_8.1.0.116.bb
> +++ /dev/null
> @@ -1,13 +0,0 @@
> -require vim_${PV}.bb
> -
> -SUMMARY += " (with tiny features)"
> -
> -PACKAGECONFIG += "tiny"
> -
> -do_install() {
> -install -d ${D}/${bindir}
> -install -m 0755 ${S}/vim ${D}/${bindir}/vim.tiny
> -}
> -
> -ALTERNATIVE_PRIORITY = "90"
> -ALTERNATIVE_TARGET = "${bindir}/vim.tiny"
> diff --git a/meta-oe/recipes-support/vim/vim-tiny_8.1.0155.bb 
> b/meta-oe/recipes-support/vim/vim-tiny_8.1.0155.bb
> new file mode 100644
> index 000..bb8f2b7
> --- /dev/null
> +++ b/meta-oe/recipes-support/vim/vim-tiny_8.1.0155.bb
> @@ -0,0 +1,13 @@
> +require vim_${PV}.bb
> +
> +SUMMARY += " (with tiny features)"
> +
> +PACKAGECONFIG += "tiny"
> +
> +do_install() {
> +install -d ${D}/${bindir}
> +install -m 0755 ${S}/vim ${D}/${bindir}/vim.tiny
> +}

This could just be made a single liner with

install -D -m 0755 ${S}/vim ${D}/${bindir}/vim.tiny

> +
> +ALTERNATIVE_PRIORITY = "90"
> +ALTERNATIVE_TARGET = "${bindir}/vim.tiny"
> diff --git a/meta-oe/recipes-support/vim/vim_8.1.0.116.bb 
> b/meta-oe/recipes-support/vim/vim_8.1.0.116.bb
> deleted file mode 100644
> index f669dfe..000
> --- a/meta-oe/recipes-support/vim/vim_8.1.0.116.bb
> +++ /dev/null
> @@ -1,113 +0,0 @@
> -SUMMARY = "Vi IMproved - enhanced vi editor"
> -SECTION = "console/utils"
> -DEPENDS = "ncurses gettext-native"
> -# vimdiff doesn't like busybox diff
> -RSUGGESTS_${PN} = "diffutils"
> -LICENSE = "vim"
> -LIC_FILES_CHKSUM = 
> "file://../runtime/doc/uganda.txt;md5=b6eb9d541de3933cc8f48125ae0335fe"
> -
> -SRC_URI = "git://github.com/vim/vim.git \
> -   file://disable_acl_header_check.patch;patchdir=.. \
> -   file://vim-add-knob-whether-elf.h-are-checked.patch;patchdir=.. \
> -"
> -SRCREV = "a87b72cc316e065d66dcbcf7ec1cde330adef3a3"
> -
> -S = "${WORKDIR}/git/src"
> -
> -VIMDIR = 
> "vim${@d.getVar('PV').split('.')[0]}${@d.getVar('PV').split('.')[1]}"
> -
> -inherit autotools-brokensep update-alternatives
> -
> -CLEANBROKEN = "1"
> -
> -# vim configure.in contains functions which got 'dropped' by 
> autotools.bbclass
> -do_configure () {
> -rm -f auto/*
> -touch auto/config.mk
> -aclocal
> -autoconf
> -oe_runconf
> -touch auto/configure
> -touch auto/config.mk auto/config.h
> -}
> -
> -#Available PACKAGECONFIG options are gtkgui, acl, x11, tiny
> -PACKAGECONFIG ??= ""
> -PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'acl selinux', d)}"
> -
> -PACKAGECONFIG[gtkgui] = "--enable-gtk2-test 
> --enable-gui=gtk2,--enable-gui=no,gtk+,"
> -PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl,"
> -PACKAGECONFIG[x11] = "--with-x,--without-x,xt,"
> -PACKAGECONFIG[tiny] = "--with-features=tiny,--with-features=big,,"
> -PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux,"
> -PACKAGECONFIG[elfutils] = "--enable-elf-check,,elfutils,"
> -
> -EXTRA_OECONF = " \
> ---disable-gpm \
> ---disable-gtktest \
> ---disable-xim \
> ---disable-netbeans \
> ---with-tlib=ncurses \
> -ac_cv_small_wchar_t=no \
> -vim_cv_getcwd_broken=no \
> -vim_cv_memmove_handles_overlap=yes \
> -vim_cv_stat_ignores_slash=no \
> -vim_cv_terminfo=yes \
> -vim_cv_tgetent=non-zero \
> -vim_cv_toupper_broken=no \
> -vim_cv_tty_group=world \
> -STRIP=/bin/true \
> -"
> -
> -do_install() {
> -autotools_do_install
> -
> -# Work around file-rdeps picking up csh, awk, perl or python as a dep
> -chmod -x ${D}${datadir}/${BPN}/${VIMDIR}/tools/vim132
> -chmod -x ${D}${datadir}/${BPN}/${VIMDIR}/tools/mve.awk
> -chmod -x ${D}${datadir}/${BPN}/${VIMDIR}/tools/*.pl
> -chmod -x ${D}${datadir}/${BPN}/${VIMDIR}/tools/*.py
> -
> -# Install example vimrc from runtime files
> -install -m 0644 ../runtime/vimrc_example.vim ${D}/${datadir}/${BPN}/vimrc
> -
>

Re: [oe] [meta-oe][PATCH v2] mcelog: Upgrade to 159

2018-07-06 Thread Khem Raj
Please do not include raw diffs in commit log. This will cause pw to confuse.
On Fri, Jul 6, 2018 at 1:50 AM Yu, Mingli  wrote:
>
>
>
> On 2018年07月06日 16:41, mingli...@windriver.com wrote:
> > From: Mingli Yu 
> >
> > Update LIC_FILES_CHKSUM as license file README.md
> > updated as below:
> >
> > diff a.orig/README.md a/README.md
> >
> > < see [mcelog.org](http://www.mcelog.org).
> > ---
> >> see [mcelog.org](https://www.mcelog.org).
> > 56a57,60
> >>
> >> By default mcelog reports its version as the git tag. This can be 
> >> overridden
> >> by setting up a .os_release file in the source directory. A build system
> >> could write the OS version to this file to mark the binary.
>
>
> The message as below, seems > behaves special in email.
>
>  Update LIC_FILES_CHKSUM as license file README.md
>  updated as below:
>
>  diff a.orig/README.md a/README.md
>
>  < see [mcelog.org](http://www.mcelog.org).
>  ---
>  > see [mcelog.org](https://www.mcelog.org).
>  56a57,60
>  >
>  > By default mcelog reports its version as the git tag. This can be
> overridden
>  > by setting up a .os_release file in the source directory. A build
> system
>  > could write the OS version to this file to mark the binary.
>
>  Signed-off-by: Mingli Yu 
>
> Thanks,
>
> >
> > Signed-off-by: Mingli Yu 
> > ---
> >   .../recipes-support/mcelog/{mcelog_1.49.bb => mcelog_159.bb}  | 4 ++--
> >   1 file changed, 2 insertions(+), 2 deletions(-)
> >   rename meta-oe/recipes-support/mcelog/{mcelog_1.49.bb => mcelog_159.bb} 
> > (89%)
> >
> > diff --git a/meta-oe/recipes-support/mcelog/mcelog_1.49.bb 
> > b/meta-oe/recipes-support/mcelog/mcelog_159.bb
> > similarity index 89%
> > rename from meta-oe/recipes-support/mcelog/mcelog_1.49.bb
> > rename to meta-oe/recipes-support/mcelog/mcelog_159.bb
> > index 84633a76c..236ad7d00 100644
> > --- a/meta-oe/recipes-support/mcelog/mcelog_1.49.bb
> > +++ b/meta-oe/recipes-support/mcelog/mcelog_159.bb
> > @@ -9,10 +9,10 @@ SRC_URI = 
> > "git://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git;protocol=http;
> >   file://run-ptest \
> >   "
> >
> > -SRCREV = "2cfdf29b2ef98ccd5ed42cdde8bbe437e0d6412f"
> > +SRCREV = "2ed5cc0489d20cbffdc6d2e08b1fe49973f0ee34"
> >
> >   LICENSE = "GPLv2"
> > -LIC_FILES_CHKSUM = "file://README.md;md5=279840fabb191e6cd9150492d31b0e20"
> > +LIC_FILES_CHKSUM = "file://README.md;md5=74bb47b9a68850cb398665cf78b31de6"
> >
> >   S = "${WORKDIR}/git"
> >
> >
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH] wireless-regdb: update 2016.06.10.bb -> 2018.05.31.bb

2018-07-06 Thread Khem Raj
Hi Andreas
On Fri, Jul 6, 2018 at 12:12 AM  wrote:
>
> From: Andy Kling 
>
> regulatory db can now be loaded by kernel as firmware file.
>
Can you check if this patch fixes your issue too

https://patchwork.openembedded.org/patch/152350/


> Signed-off-by: Andy Kling 
> ---
>  ...ss-regdb_2016.06.10.bb => wireless-regdb_2018.05.31.bb} | 7 +--
>  1 file changed, 5 insertions(+), 2 deletions(-)
>  rename 
> meta-networking/recipes-connectivity/wireless-regdb/{wireless-regdb_2016.06.10.bb
>  => wireless-regdb_2018.05.31.bb} (64%)
>
> diff --git 
> a/meta-networking/recipes-connectivity/wireless-regdb/wireless-regdb_2016.06.10.bb
>  
> b/meta-networking/recipes-connectivity/wireless-regdb/wireless-regdb_2018.05.31.bb
> similarity index 64%
> rename from 
> meta-networking/recipes-connectivity/wireless-regdb/wireless-regdb_2016.06.10.bb
> rename to 
> meta-networking/recipes-connectivity/wireless-regdb/wireless-regdb_2018.05.31.bb
> index 64e9401e7..c51439f3a 100644
> --- 
> a/meta-networking/recipes-connectivity/wireless-regdb/wireless-regdb_2016.06.10.bb
> +++ 
> b/meta-networking/recipes-connectivity/wireless-regdb/wireless-regdb_2018.05.31.bb
> @@ -5,16 +5,19 @@ LICENSE = "ISC"
>  LIC_FILES_CHKSUM = "file://LICENSE;md5=07c4f6dea3845b02a18dc00c8c87699c"
>
>  SRC_URI = "https://www.kernel.org/pub/software/network/${BPN}/${BP}.tar.xz";
> -SRC_URI[md5sum] = "d282cce92b6e692e8673e2bd97adf33b"
> -SRC_URI[sha256sum] = 
> "cfedf1c3521b3c8f32602f25ed796e96e687c3441a00e7c050fedf7fd4f1b8b7"
> +SRC_URI[md5sum] = "0cbbdc21186c76cf58aba01b03f3dc5b"
> +SRC_URI[sha256sum] = 
> "e1dfbc3b97771373077f430c3c05082fae883145b37db5b2cfd12c56676fbe7b"
>
>  inherit bin_package
>
>  do_install() {
>  install -d -m0755 ${D}${libdir}/crda
>  install -d -m0755 ${D}${sysconfdir}/wireless-regdb/pubkeys
> +install -d -m0755 ${D}${base_libdir}/firmware
>  install -m 0644 regulatory.bin ${D}${libdir}/crda/regulatory.bin
>  install -m 0644 sforshee.key.pub.pem 
> ${D}${sysconfdir}/wireless-regdb/pubkeys/sforshee.key.pub.pem
> +install -m 0644 regulatory.db ${D}${base_libdir}/firmware/regulatory.db
> +install -m 0644 regulatory.db.p7s 
> ${D}${base_libdir}/firmware/regulatory.db.p7s
>  }
>
>  RSUGGESTS_${PN} = "crda"
> --
> 2.18.0
>
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-networking][PATCH][master][sumo] iscsitarget: Remove recipe as it is no longer supported to build with linux kernel >= 4.14

2018-07-06 Thread Jagadeesh Krishnanjanappa
The upstream iscsitarget source does not have support to build
with Linux kernel >= 4.14, as the "struct bio" members has been updated
in the linux kernel v4.14 source. Requires major code change in
iscsitarget to support building later versions of Linux kernel.

The Linux SCSI target framework (tgt) recipe present in meta-openstack
layer, can be used as a substitute to iscsitarget recipe and works fine
in our testing.

Signed-off-by: Jagadeesh Krishnanjanappa 
---
 ...vent-netlink_ack-now-requires-4-arguments.patch |  40 --
 .../access-sk_v6_daddr-iff-IPV6-defined.patch  |  28 --
 ...pdated_bio_struct_of_linux_v4.3_and_above.patch | 108 -
 ...pdated_interfaces_of_linux_v4.8_and_above.patch | 475 -
 .../fix-call-trace-of-ahash-API-calling.patch  |  85 
 ...rors-observed-with-linux-3.19-and-greater.patch | 327 --
 ...use-kernel-makefile-to-get-kernel-version.patch |  67 ---
 .../iscsitarget/iscsitarget_1.4.20.3+svn502.bb |  64 ---
 8 files changed, 1194 deletions(-)
 delete mode 100644 
meta-networking/recipes-extended/iscsitarget/files/0001-kernel-event-netlink_ack-now-requires-4-arguments.patch
 delete mode 100644 
meta-networking/recipes-extended/iscsitarget/files/access-sk_v6_daddr-iff-IPV6-defined.patch
 delete mode 100644 
meta-networking/recipes-extended/iscsitarget/files/build_with_updated_bio_struct_of_linux_v4.3_and_above.patch
 delete mode 100644 
meta-networking/recipes-extended/iscsitarget/files/build_with_updated_interfaces_of_linux_v4.8_and_above.patch
 delete mode 100644 
meta-networking/recipes-extended/iscsitarget/files/fix-call-trace-of-ahash-API-calling.patch
 delete mode 100644 
meta-networking/recipes-extended/iscsitarget/files/fix-errors-observed-with-linux-3.19-and-greater.patch
 delete mode 100644 
meta-networking/recipes-extended/iscsitarget/files/use-kernel-makefile-to-get-kernel-version.patch
 delete mode 100644 
meta-networking/recipes-extended/iscsitarget/iscsitarget_1.4.20.3+svn502.bb

diff --git 
a/meta-networking/recipes-extended/iscsitarget/files/0001-kernel-event-netlink_ack-now-requires-4-arguments.patch
 
b/meta-networking/recipes-extended/iscsitarget/files/0001-kernel-event-netlink_ack-now-requires-4-arguments.patch
deleted file mode 100644
index 4426d35..000
--- 
a/meta-networking/recipes-extended/iscsitarget/files/0001-kernel-event-netlink_ack-now-requires-4-arguments.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From cbc5f8151017f45231b75a826f18354a81c287c4 Mon Sep 17 00:00:00 2001
-From: Khem Raj 
-Date: Sat, 26 Aug 2017 07:52:59 -0700
-Subject: [PATCH] kernel/event: netlink_ack() now requires 4 arguments
-
-see https://patchwork.kernel.org/patch/9670181/
-
-event.c:32:4: error: too few arguments to function 'netlink_ack'
-| netlink_ack(skb, nlh, 0);
-| ^~~
-
-Signed-off-by: Khem Raj 

- kernel/event.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: iscsitarget-1.4.20.3+svn502/kernel/event.c
-===
 iscsitarget-1.4.20.3+svn502.orig/kernel/event.c
-+++ iscsitarget-1.4.20.3+svn502/kernel/event.c
-@@ -6,6 +6,7 @@
-  * Some functions are based on audit code.
-  */
- 
-+#include 
- #include 
- #include 
- #include "iet_u.h"
-@@ -29,7 +30,11 @@ static void event_recv_skb(struct sk_buf
-   ietd_pid = NETLINK_CB(skb).portid;
-   WARN_ON(ietd_pid == 0);
-   if (nlh->nlmsg_flags & NLM_F_ACK)
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
-+  netlink_ack(skb, nlh, 0, NULL);
-+#else
-   netlink_ack(skb, nlh, 0);
-+#endif
-   skb_pull(skb, rlen);
-   }
- }
diff --git 
a/meta-networking/recipes-extended/iscsitarget/files/access-sk_v6_daddr-iff-IPV6-defined.patch
 
b/meta-networking/recipes-extended/iscsitarget/files/access-sk_v6_daddr-iff-IPV6-defined.patch
deleted file mode 100644
index 234..000
--- 
a/meta-networking/recipes-extended/iscsitarget/files/access-sk_v6_daddr-iff-IPV6-defined.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-The element skc_v6_daddr (in struct sock_common) is defined in 
-kernel source only when CONFIG_IPV6 is enabled. Hence, access 
-sk_v6_daddr element (i.e __sk_common.skc_v6_daddr) only when CONFIG_IPV6 
-is defined; to fix below error in world build:
-
--- snip --
-/home/jenkins/oe/world/shr-core/tmp-glibc/work-shared/qemux86/kernel-source/include/net/sock.h:330:33:
 error: 'struct sock_common' has no member named 'skc_v6_daddr'
--- CUT --
-
-Upstream-Status: Pending
-
-Signed-off-by: Jagadeesh Krishnanjanappa 
-
 iscsitarget-1.4.20.3+svn502_org/kernel/conn.c  2015-12-29 
21:57:50.547932217 -0800
-+++ iscsitarget-1.4.20.3+svn502/kernel/conn.c  2015-12-29 22:47:25.254657627 
-0800
-@@ -46,10 +46,12 @@ void conn_info_show(struct seq_file *seq
-   snprintf(buf, sizeof(buf),
-"%pI4", &inet_sk(sk)->inet_daddr);
-   break;
-+#if defi

Re: [oe] [PATCH] kernel-devicetree.bbclass: DTB make targets may contain path components

2018-07-06 Thread Jonathan Haigh
normalize_dtb() turns DTS and DTB paths into values that can be used as
make targets. These make targets sometimes contain some directory components
so 'basename' is not suitable for turning the paths into make targets -
we should only strip off leading directory components of the path up to
and including the 'dts' directory (if it exists). For example:
* 'overlays/at86rf233.dtbo' should not be changed.
* 'some/directory/path/dts/overlays/at86rf233.dtbo' should be changed to
  'overlays/at86rf233.dtbo' rather than just 'at86rf233.dtbo'

Signed-off-by: Jonathan Haigh 
---
 meta/classes/kernel-devicetree.bbclass | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta/classes/kernel-devicetree.bbclass 
b/meta/classes/kernel-devicetree.bbclass
index 9866d84..0ffa8e9 100644
--- a/meta/classes/kernel-devicetree.bbclass
+++ b/meta/classes/kernel-devicetree.bbclass
@@ -12,9 +12,10 @@ KERNEL_DEVICETREE_BUNDLE ?= "0"
 normalize_dtb () {
 DTB="$1"
 if echo ${DTB} | grep -q '/dts/'; then
-   bbwarn "${DTB} contains the full path to the the dts file, but 
only the dtb name should be used."
+   bbwarn "${DTB} contains the full path to the the dts file, but 
the path should be relative to the dts directory."
+   DTB=`echo "${DTB}" | sed 's,^.*/dts/,,'`
 fi
-   DTB=`basename ${DTB} | sed 's,\.dts$,.dtb,g'`
+   DTB=`echo "${DTB}" | sed 's,\.dts$,.dtb,g'`
 echo "${DTB}"
 }

--
2.7.4


IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH] iozone3: Upgrade to 482

2018-07-06 Thread Khem Raj
On Fri, Jul 6, 2018 at 2:27 AM Yu, Mingli  wrote:
>
>
>
> On 2018年07月06日 00:00, Khem Raj wrote:
> > On Wed, Jul 4, 2018 at 11:54 PM  wrote:
> >>
> >> From: Mingli Yu 
> >>
> >> Update LIC_FILES_CHKSUM as the file iozone.c
> >> used for LIC_FILES_CHKSUM updated
> >>
> >
> > Please describe what has changed that is causing the checksums to
> > change.
>
> The source file iozone.c changed has causing the checksum change. I have
> already mention it in the commit message.

Commit message does not say what changed,  We already know something
has changed thats causing the checksum change but here we usually
document what changed specifically, purpose is to let users know of
any
change in licensing requirements that they need to be aware of

>
> Thanks,
>
> >
> >> Signed-off-by: Mingli Yu 
> >> ---
> >>   .../iozone3/{iozone3_465.bb => iozone3_482.bb}  | 6 +++---
> >>   1 file changed, 3 insertions(+), 3 deletions(-)
> >>   rename meta-oe/recipes-benchmark/iozone3/{iozone3_465.bb => 
> >> iozone3_482.bb} (95%)
> >>
> >> diff --git a/meta-oe/recipes-benchmark/iozone3/iozone3_465.bb 
> >> b/meta-oe/recipes-benchmark/iozone3/iozone3_482.bb
> >> similarity index 95%
> >> rename from meta-oe/recipes-benchmark/iozone3/iozone3_465.bb
> >> rename to meta-oe/recipes-benchmark/iozone3/iozone3_482.bb
> >> index 191b93425..09306e044 100644
> >> --- a/meta-oe/recipes-benchmark/iozone3/iozone3_465.bb
> >> +++ b/meta-oe/recipes-benchmark/iozone3/iozone3_482.bb
> >> @@ -4,14 +4,14 @@ AUTHOR = "Don Capps , William D. 
> >> Norcott  >>   SECTION = "console/tests"
> >>   LICENSE = "iozone3"
> >>   LIC_FILES_CHKSUM = 
> >> "file://iozone.c;beginline=37;endline=48;md5=7331260091868dcad0f9edea735b5f4b
> >>  \
> >> -
> >> file://iozone.c;beginline=260;endline=266;md5=77f9ee51e45b57a7e7519c4fa0b4f00b
> >>  \
> >> +
> >> file://iozone.c;beginline=260;endline=266;md5=0aa488fd139eac078be6eca86e1435e8
> >>  \
> >>   "
> >>   SRC_URI = "http://www.iozone.org/src/current/${BPN}_${PV}.tar \
> >>   file://parallelism.patch \
> >>   file://copyright.txt \
> >>   "
> >> -SRC_URI[md5sum] = "c924e5e46fb1cf8145f420e8e57eb954"
> >> -SRC_URI[sha256sum] = 
> >> "2e3d72916e7d7340a7c505fc0c3d28553fcc5ff2daf41d811368e55bd4e6a293"
> >> +SRC_URI[md5sum] = "31ca1d3d28bc375c20a2808217cf212c"
> >> +SRC_URI[sha256sum] = 
> >> "2733feb63c96f77177c68f3d938f2294d5394d8554b2767c45cbe138b2f3ae30"
> >>
> >>   UPSTREAM_CHECK_REGEX = "iozone3_(?P\d+).tar"
> >>
> >> --
> >> 2.17.1
> >>
> >> --
> >> ___
> >> Openembedded-devel mailing list
> >> Openembedded-devel@lists.openembedded.org
> >> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> >
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [oe-core] kernel-devicetree.bbclass: DTBs with path components

2018-07-06 Thread Jonathan Haigh
I've just noticed that my patch never actually made it to the mailing list. 
I'll try to send it again.


From: Jonathan Haigh
Sent: 06 July 2018 10:18:04
To: Khem Raj; openembedded-devel@lists.openembedded.org; ptsne...@gmail.com; 
richard.pur...@linuxfoundation.org
Cc: Jeremy Johnson
Subject: Re: [oe] [oe-core] kernel-devicetree.bbclass: DTBs with path components

Hi Khem,

Thanks for the response.

Reverting 2e7f3b2b9318d1e5395ad58131eafb873f614326 works for me (my 
KERNEL_DEVICETREEs don't actually contain any full paths to DTBs or DTSs).

In the case where the warning is emitted  (a full path to the DTB/DTS) the 
current code still may not handle some cases properly - when a DTB/DTS is given 
as a full path but that full path is to a subdirectory of dts/. In that case 
the current code will use basename to strip off all but the filename, but if I 
understand correctly, any path components after the dts/ directory shouldn't be 
stripped. That case comes with a BitBake warning though, so I guess maybe it's 
not supported and isn't important.


Paulo,

The scenario you've described is a bit different to what I was thinking about. 
Each element in KERNEL_DEVICETREE is translated by normalize_dtb() and then 
passed straight to oe_runmake in do_compile_append() in 
kernel-devicetree.bbclass. I'd guess that you need to do a bit more work to get 
your (translated) dtb path to be a valid make target than putting the DTS in 
${WORKDIR} (maybe putting your DTS in the kernel source's dts directory would 
do it).

The cases I was thinking about were where KERNEL_DEVICETREE has paths to DTS or 
DTB files that are already in the kernel's dts directory.

Thanks,

Jonathan

From: Khem Raj 
Sent: 05 July 2018 23:41
To: Jonathan Haigh; openembedded-devel@lists.openembedded.org; 
ptsne...@gmail.com; richard.pur...@linuxfoundation.org
Subject: Re: [oe] [oe-core] kernel-devicetree.bbclass: DTBs with path components


On 7/5/18 4:04 AM, Jonathan Haigh wrote:
> Hi,
>
>
> The recent oe-core commit  
> https://github.com/openembedded/openembedded-core/commit/2e7f3b2b9318d1e5395ad58131eafb873f614326
>  altered the normalize_dtb() function to always apply basename to the DTB (or 
> DTS) passed in to convert a potentially full path to a DTB/DTS into a make 
> target.
>
>
> If I understand correctly, that's not the correct thing to do because the 
> make targets can contain directory components - and some of the DTBs in 
> meta-raspberrypi's KERNEL_DEVICETREE do contain directory components even 
> though they're not full paths to the  DTBs (e.g. overlays/at86rf233.dtbo from 
> meta-raspberrypi:conf/machine/include/rpi-base.inc).
>
>
> I think the normalize_dtb() function should just strip leading parts of 
> DTB/DTSs to make them relative to the 'dts' directory. I have a patch to make 
> this change that I will post shortly.
>


it has already been reverted today.
see
http://git.openembedded.org/openembedded-core/commit/?id=0d725c76c113dec441a7319a6ee997e4ae8c4c88

please update to latest master.

>
> Regards,
>
>
> Jonathan
>
> IMPORTANT NOTICE: The contents of this email and any attachments are 
> confidential and may also be privileged. If you are not the intended 
> recipient, please notify the sender immediately and do not disclose the 
> contents to any other person, use it for any  purpose, or store or copy the 
> information in any medium. Thank you.
>



IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH] iozone3: Upgrade to 482

2018-07-06 Thread Yu, Mingli



On 2018年07月06日 00:00, Khem Raj wrote:

On Wed, Jul 4, 2018 at 11:54 PM  wrote:


From: Mingli Yu 

Update LIC_FILES_CHKSUM as the file iozone.c
used for LIC_FILES_CHKSUM updated



Please describe what has changed that is causing the checksums to
change.


The source file iozone.c changed has causing the checksum change. I have 
already mention it in the commit message.


Thanks,




Signed-off-by: Mingli Yu 
---
  .../iozone3/{iozone3_465.bb => iozone3_482.bb}  | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)
  rename meta-oe/recipes-benchmark/iozone3/{iozone3_465.bb => iozone3_482.bb} 
(95%)

diff --git a/meta-oe/recipes-benchmark/iozone3/iozone3_465.bb 
b/meta-oe/recipes-benchmark/iozone3/iozone3_482.bb
similarity index 95%
rename from meta-oe/recipes-benchmark/iozone3/iozone3_465.bb
rename to meta-oe/recipes-benchmark/iozone3/iozone3_482.bb
index 191b93425..09306e044 100644
--- a/meta-oe/recipes-benchmark/iozone3/iozone3_465.bb
+++ b/meta-oe/recipes-benchmark/iozone3/iozone3_482.bb
@@ -4,14 +4,14 @@ AUTHOR = "Don Capps , William D. Norcott 
http://www.iozone.org/src/current/${BPN}_${PV}.tar \
  file://parallelism.patch \
  file://copyright.txt \
  "
-SRC_URI[md5sum] = "c924e5e46fb1cf8145f420e8e57eb954"
-SRC_URI[sha256sum] = 
"2e3d72916e7d7340a7c505fc0c3d28553fcc5ff2daf41d811368e55bd4e6a293"
+SRC_URI[md5sum] = "31ca1d3d28bc375c20a2808217cf212c"
+SRC_URI[sha256sum] = 
"2733feb63c96f77177c68f3d938f2294d5394d8554b2767c45cbe138b2f3ae30"

  UPSTREAM_CHECK_REGEX = "iozone3_(?P\d+).tar"

--
2.17.1

--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel



--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH] vim: update to 8.1.0155

2018-07-06 Thread Leon Anavi
Update vim to the latest version 8.1.0155.

Signed-off-by: Leon Anavi 
---
 meta-oe/recipes-support/vim/vim-tiny_8.1.0.116.bb |  13 ---
 meta-oe/recipes-support/vim/vim-tiny_8.1.0155.bb  |  13 +++
 meta-oe/recipes-support/vim/vim_8.1.0.116.bb  | 113 --
 meta-oe/recipes-support/vim/vim_8.1.0155.bb   | 113 ++
 4 files changed, 126 insertions(+), 126 deletions(-)
 delete mode 100644 meta-oe/recipes-support/vim/vim-tiny_8.1.0.116.bb
 create mode 100644 meta-oe/recipes-support/vim/vim-tiny_8.1.0155.bb
 delete mode 100644 meta-oe/recipes-support/vim/vim_8.1.0.116.bb
 create mode 100644 meta-oe/recipes-support/vim/vim_8.1.0155.bb

diff --git a/meta-oe/recipes-support/vim/vim-tiny_8.1.0.116.bb 
b/meta-oe/recipes-support/vim/vim-tiny_8.1.0.116.bb
deleted file mode 100644
index bb8f2b7..000
--- a/meta-oe/recipes-support/vim/vim-tiny_8.1.0.116.bb
+++ /dev/null
@@ -1,13 +0,0 @@
-require vim_${PV}.bb
-
-SUMMARY += " (with tiny features)"
-
-PACKAGECONFIG += "tiny"
-
-do_install() {
-install -d ${D}/${bindir}
-install -m 0755 ${S}/vim ${D}/${bindir}/vim.tiny
-}
-
-ALTERNATIVE_PRIORITY = "90"
-ALTERNATIVE_TARGET = "${bindir}/vim.tiny"
diff --git a/meta-oe/recipes-support/vim/vim-tiny_8.1.0155.bb 
b/meta-oe/recipes-support/vim/vim-tiny_8.1.0155.bb
new file mode 100644
index 000..bb8f2b7
--- /dev/null
+++ b/meta-oe/recipes-support/vim/vim-tiny_8.1.0155.bb
@@ -0,0 +1,13 @@
+require vim_${PV}.bb
+
+SUMMARY += " (with tiny features)"
+
+PACKAGECONFIG += "tiny"
+
+do_install() {
+install -d ${D}/${bindir}
+install -m 0755 ${S}/vim ${D}/${bindir}/vim.tiny
+}
+
+ALTERNATIVE_PRIORITY = "90"
+ALTERNATIVE_TARGET = "${bindir}/vim.tiny"
diff --git a/meta-oe/recipes-support/vim/vim_8.1.0.116.bb 
b/meta-oe/recipes-support/vim/vim_8.1.0.116.bb
deleted file mode 100644
index f669dfe..000
--- a/meta-oe/recipes-support/vim/vim_8.1.0.116.bb
+++ /dev/null
@@ -1,113 +0,0 @@
-SUMMARY = "Vi IMproved - enhanced vi editor"
-SECTION = "console/utils"
-DEPENDS = "ncurses gettext-native"
-# vimdiff doesn't like busybox diff
-RSUGGESTS_${PN} = "diffutils"
-LICENSE = "vim"
-LIC_FILES_CHKSUM = 
"file://../runtime/doc/uganda.txt;md5=b6eb9d541de3933cc8f48125ae0335fe"
-
-SRC_URI = "git://github.com/vim/vim.git \
-   file://disable_acl_header_check.patch;patchdir=.. \
-   file://vim-add-knob-whether-elf.h-are-checked.patch;patchdir=.. \
-"
-SRCREV = "a87b72cc316e065d66dcbcf7ec1cde330adef3a3"
-
-S = "${WORKDIR}/git/src"
-
-VIMDIR = "vim${@d.getVar('PV').split('.')[0]}${@d.getVar('PV').split('.')[1]}"
-
-inherit autotools-brokensep update-alternatives
-
-CLEANBROKEN = "1"
-
-# vim configure.in contains functions which got 'dropped' by autotools.bbclass
-do_configure () {
-rm -f auto/*
-touch auto/config.mk
-aclocal
-autoconf
-oe_runconf
-touch auto/configure
-touch auto/config.mk auto/config.h
-}
-
-#Available PACKAGECONFIG options are gtkgui, acl, x11, tiny
-PACKAGECONFIG ??= ""
-PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'acl selinux', d)}"
-
-PACKAGECONFIG[gtkgui] = "--enable-gtk2-test 
--enable-gui=gtk2,--enable-gui=no,gtk+,"
-PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl,"
-PACKAGECONFIG[x11] = "--with-x,--without-x,xt,"
-PACKAGECONFIG[tiny] = "--with-features=tiny,--with-features=big,,"
-PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux,"
-PACKAGECONFIG[elfutils] = "--enable-elf-check,,elfutils,"
-
-EXTRA_OECONF = " \
---disable-gpm \
---disable-gtktest \
---disable-xim \
---disable-netbeans \
---with-tlib=ncurses \
-ac_cv_small_wchar_t=no \
-vim_cv_getcwd_broken=no \
-vim_cv_memmove_handles_overlap=yes \
-vim_cv_stat_ignores_slash=no \
-vim_cv_terminfo=yes \
-vim_cv_tgetent=non-zero \
-vim_cv_toupper_broken=no \
-vim_cv_tty_group=world \
-STRIP=/bin/true \
-"
-
-do_install() {
-autotools_do_install
-
-# Work around file-rdeps picking up csh, awk, perl or python as a dep
-chmod -x ${D}${datadir}/${BPN}/${VIMDIR}/tools/vim132
-chmod -x ${D}${datadir}/${BPN}/${VIMDIR}/tools/mve.awk
-chmod -x ${D}${datadir}/${BPN}/${VIMDIR}/tools/*.pl
-chmod -x ${D}${datadir}/${BPN}/${VIMDIR}/tools/*.py
-
-# Install example vimrc from runtime files
-install -m 0644 ../runtime/vimrc_example.vim ${D}/${datadir}/${BPN}/vimrc
-
-# we use --with-features=big as default
-mv ${D}${bindir}/${BPN} ${D}${bindir}/${BPN}.${BPN}
-}
-
-PARALLEL_MAKEINST = ""
-
-PACKAGES =+ "${PN}-common ${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc 
${PN}-tools"
-FILES_${PN}-syntax = "${datadir}/${BPN}/${VIMDIR}/syntax"
-FILES_${PN}-help = "${datadir}/${BPN}/${VIMDIR}/doc"
-FILES_${PN}-tutor = "${datadir}/${BPN}/${VIMDIR}/tutor ${bindir}/${BPN}tutor"
-FILES_${PN}-vimrc = "${datadir}/${BPN}/vimrc"
-FILES_${PN}-data = "${datadir}/${BPN}"
-FILES_${PN}-tools = "${datadir}/${BPN}/${VIMDIR}/tools"
-FILES_${PN}-common = " \
-${datadir}/${BPN}/${VIMDI

Re: [oe] [meta-oe][PATCH v2] mcelog: Upgrade to 159

2018-07-06 Thread Yu, Mingli



On 2018年07月06日 16:41, mingli...@windriver.com wrote:

From: Mingli Yu 

Update LIC_FILES_CHKSUM as license file README.md
updated as below:

diff a.orig/README.md a/README.md

< see [mcelog.org](http://www.mcelog.org).
---

see [mcelog.org](https://www.mcelog.org).

56a57,60


By default mcelog reports its version as the git tag. This can be overridden
by setting up a .os_release file in the source directory. A build system
could write the OS version to this file to mark the binary.



The message as below, seems > behaves special in email.

Update LIC_FILES_CHKSUM as license file README.md
updated as below:

diff a.orig/README.md a/README.md

< see [mcelog.org](http://www.mcelog.org).
---
> see [mcelog.org](https://www.mcelog.org).
56a57,60
>
> By default mcelog reports its version as the git tag. This can be 
overridden
> by setting up a .os_release file in the source directory. A build 
system

> could write the OS version to this file to mark the binary.

Signed-off-by: Mingli Yu 

Thanks,



Signed-off-by: Mingli Yu 
---
  .../recipes-support/mcelog/{mcelog_1.49.bb => mcelog_159.bb}  | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
  rename meta-oe/recipes-support/mcelog/{mcelog_1.49.bb => mcelog_159.bb} (89%)

diff --git a/meta-oe/recipes-support/mcelog/mcelog_1.49.bb 
b/meta-oe/recipes-support/mcelog/mcelog_159.bb
similarity index 89%
rename from meta-oe/recipes-support/mcelog/mcelog_1.49.bb
rename to meta-oe/recipes-support/mcelog/mcelog_159.bb
index 84633a76c..236ad7d00 100644
--- a/meta-oe/recipes-support/mcelog/mcelog_1.49.bb
+++ b/meta-oe/recipes-support/mcelog/mcelog_159.bb
@@ -9,10 +9,10 @@ SRC_URI = 
"git://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git;protocol=http;
  file://run-ptest \
  "

-SRCREV = "2cfdf29b2ef98ccd5ed42cdde8bbe437e0d6412f"
+SRCREV = "2ed5cc0489d20cbffdc6d2e08b1fe49973f0ee34"

  LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://README.md;md5=279840fabb191e6cd9150492d31b0e20"
+LIC_FILES_CHKSUM = "file://README.md;md5=74bb47b9a68850cb398665cf78b31de6"

  S = "${WORKDIR}/git"



--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH v2] mcelog: Upgrade to 159

2018-07-06 Thread mingli.yu
From: Mingli Yu 

Update LIC_FILES_CHKSUM as license file README.md
updated as below:

diff a.orig/README.md a/README.md

< see [mcelog.org](http://www.mcelog.org).
---
> see [mcelog.org](https://www.mcelog.org).
56a57,60
>
> By default mcelog reports its version as the git tag. This can be overridden
> by setting up a .os_release file in the source directory. A build system
> could write the OS version to this file to mark the binary.

Signed-off-by: Mingli Yu 
---
 .../recipes-support/mcelog/{mcelog_1.49.bb => mcelog_159.bb}  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-support/mcelog/{mcelog_1.49.bb => mcelog_159.bb} (89%)

diff --git a/meta-oe/recipes-support/mcelog/mcelog_1.49.bb 
b/meta-oe/recipes-support/mcelog/mcelog_159.bb
similarity index 89%
rename from meta-oe/recipes-support/mcelog/mcelog_1.49.bb
rename to meta-oe/recipes-support/mcelog/mcelog_159.bb
index 84633a76c..236ad7d00 100644
--- a/meta-oe/recipes-support/mcelog/mcelog_1.49.bb
+++ b/meta-oe/recipes-support/mcelog/mcelog_159.bb
@@ -9,10 +9,10 @@ SRC_URI = 
"git://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git;protocol=http;
 file://run-ptest \
 "
 
-SRCREV = "2cfdf29b2ef98ccd5ed42cdde8bbe437e0d6412f"
+SRCREV = "2ed5cc0489d20cbffdc6d2e08b1fe49973f0ee34"
 
 LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://README.md;md5=279840fabb191e6cd9150492d31b0e20"
+LIC_FILES_CHKSUM = "file://README.md;md5=74bb47b9a68850cb398665cf78b31de6"
 
 S = "${WORKDIR}/git"
 
-- 
2.17.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH] mcelog: Upgrade to 159

2018-07-06 Thread Yu, Mingli



On 2018年07月06日 00:02, Khem Raj wrote:

On Thu, Jul 5, 2018 at 1:11 AM  wrote:


From: Mingli Yu 

Update LIC_FILES_CHKSUM as README.md updated


Thanks Khem, will send out V2 to cover the info.

Thanks,





Please provide the information about what changed in README.md


Signed-off-by: Mingli Yu 
---
  .../recipes-support/mcelog/{mcelog_1.49.bb => mcelog_159.bb}  | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
  rename meta-oe/recipes-support/mcelog/{mcelog_1.49.bb => mcelog_159.bb} (89%)

diff --git a/meta-oe/recipes-support/mcelog/mcelog_1.49.bb 
b/meta-oe/recipes-support/mcelog/mcelog_159.bb
similarity index 89%
rename from meta-oe/recipes-support/mcelog/mcelog_1.49.bb
rename to meta-oe/recipes-support/mcelog/mcelog_159.bb
index 84633a76c..236ad7d00 100644
--- a/meta-oe/recipes-support/mcelog/mcelog_1.49.bb
+++ b/meta-oe/recipes-support/mcelog/mcelog_159.bb
@@ -9,10 +9,10 @@ SRC_URI = 
"git://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git;protocol=http;
  file://run-ptest \
  "

-SRCREV = "2cfdf29b2ef98ccd5ed42cdde8bbe437e0d6412f"
+SRCREV = "2ed5cc0489d20cbffdc6d2e08b1fe49973f0ee34"

  LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://README.md;md5=279840fabb191e6cd9150492d31b0e20"
+LIC_FILES_CHKSUM = "file://README.md;md5=74bb47b9a68850cb398665cf78b31de6"

  S = "${WORKDIR}/git"

--
2.17.1

--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel



--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH] wireless-regdb: update 2016.06.10.bb -> 2018.05.31.bb

2018-07-06 Thread andreas . kling
From: Andy Kling 

regulatory db can now be loaded by kernel as firmware file.

Signed-off-by: Andy Kling 
---
 ...ss-regdb_2016.06.10.bb => wireless-regdb_2018.05.31.bb} | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)
 rename 
meta-networking/recipes-connectivity/wireless-regdb/{wireless-regdb_2016.06.10.bb
 => wireless-regdb_2018.05.31.bb} (64%)

diff --git 
a/meta-networking/recipes-connectivity/wireless-regdb/wireless-regdb_2016.06.10.bb
 
b/meta-networking/recipes-connectivity/wireless-regdb/wireless-regdb_2018.05.31.bb
similarity index 64%
rename from 
meta-networking/recipes-connectivity/wireless-regdb/wireless-regdb_2016.06.10.bb
rename to 
meta-networking/recipes-connectivity/wireless-regdb/wireless-regdb_2018.05.31.bb
index 64e9401e7..c51439f3a 100644
--- 
a/meta-networking/recipes-connectivity/wireless-regdb/wireless-regdb_2016.06.10.bb
+++ 
b/meta-networking/recipes-connectivity/wireless-regdb/wireless-regdb_2018.05.31.bb
@@ -5,16 +5,19 @@ LICENSE = "ISC"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=07c4f6dea3845b02a18dc00c8c87699c"
 
 SRC_URI = "https://www.kernel.org/pub/software/network/${BPN}/${BP}.tar.xz";
-SRC_URI[md5sum] = "d282cce92b6e692e8673e2bd97adf33b"
-SRC_URI[sha256sum] = 
"cfedf1c3521b3c8f32602f25ed796e96e687c3441a00e7c050fedf7fd4f1b8b7"
+SRC_URI[md5sum] = "0cbbdc21186c76cf58aba01b03f3dc5b"
+SRC_URI[sha256sum] = 
"e1dfbc3b97771373077f430c3c05082fae883145b37db5b2cfd12c56676fbe7b"
 
 inherit bin_package
 
 do_install() {
 install -d -m0755 ${D}${libdir}/crda
 install -d -m0755 ${D}${sysconfdir}/wireless-regdb/pubkeys
+install -d -m0755 ${D}${base_libdir}/firmware
 install -m 0644 regulatory.bin ${D}${libdir}/crda/regulatory.bin
 install -m 0644 sforshee.key.pub.pem 
${D}${sysconfdir}/wireless-regdb/pubkeys/sforshee.key.pub.pem
+install -m 0644 regulatory.db ${D}${base_libdir}/firmware/regulatory.db
+install -m 0644 regulatory.db.p7s 
${D}${base_libdir}/firmware/regulatory.db.p7s
 }
 
 RSUGGESTS_${PN} = "crda"
-- 
2.18.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel