[meta-gplv2,warrior,master] licenses: restore Elfutils-Exception from oe-core

Submitted by Martin Jansa on May 15, 2019, 10:57 a.m. | Patch ID: 161276

Details

Message ID 20190515105700.22802-1-Martin.Jansa@gmail.com
State New
Headers show

Commit Message

Martin Jansa May 15, 2019, 10:57 a.m.
* it's still used by:
  recipes-devtools/elfutils/elfutils_0.148.bb:LICENSE = "(GPL-2+ & Elfutils-Exception)"
* was removed in oe-core with:
  http://git.openembedded.org/openembedded-core/commit/?id=88188807a6ac9bab738a69f6b4caba9ed092d78f
* causing:
  do_rootfs: The license listed Elfutils-Exception was not in the licenses collected for recipe elfutils

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 conf/layer.conf             |  2 ++
 licenses/Elfutils-Exception | 12 ++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 licenses/Elfutils-Exception

Patch hide | download patch | download mbox

diff --git a/conf/layer.conf b/conf/layer.conf
index 59f6a89..44c6712 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -15,3 +15,5 @@  LAYERVERSION_gplv2 = "1"
 LAYERDEPENDS_gplv2 = "core"
 
 LAYERSERIES_COMPAT_gplv2 = "warrior"
+
+LICENSE_PATH += "${LAYERDIR}/licenses"
diff --git a/licenses/Elfutils-Exception b/licenses/Elfutils-Exception
new file mode 100644
index 0000000..627d769
--- /dev/null
+++ b/licenses/Elfutils-Exception
@@ -0,0 +1,12 @@ 
+   This file describes the limits of the Exception under which you are allowed
+   to distribute Non-GPL Code in linked combination with Red Hat elfutils.
+   For the full text of the license, please see one of the header files
+   included with the source distribution or the file COPYING found in the
+   top level directory of the source.
+
+   The Approved Interfaces are the functions declared in the files:
+
+   libelf.h
+   libdw.h
+   libdwfl.h
+

Comments

Mikko Rapeli May 16, 2019, 8:15 a.m.
On Wed, May 15, 2019 at 10:57:00AM +0000, Martin Jansa wrote:
> * it's still used by:
>   recipes-devtools/elfutils/elfutils_0.148.bb:LICENSE = "(GPL-2+ & Elfutils-Exception)"
> * was removed in oe-core with:
>   http://git.openembedded.org/openembedded-core/commit/?id=88188807a6ac9bab738a69f6b4caba9ed092d78f
> * causing:
>   do_rootfs: The license listed Elfutils-Exception was not in the licenses collected for recipe elfutils

Looks good!

Reviewed-by: Mikko Rapeli <mikko.rapeli@bmw.de>

> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
>  conf/layer.conf             |  2 ++
>  licenses/Elfutils-Exception | 12 ++++++++++++
>  2 files changed, 14 insertions(+)
>  create mode 100644 licenses/Elfutils-Exception
> 
> diff --git a/conf/layer.conf b/conf/layer.conf
> index 59f6a89..44c6712 100644
> --- a/conf/layer.conf
> +++ b/conf/layer.conf
> @@ -15,3 +15,5 @@ LAYERVERSION_gplv2 = "1"
>  LAYERDEPENDS_gplv2 = "core"
>  
>  LAYERSERIES_COMPAT_gplv2 = "warrior"
> +
> +LICENSE_PATH += "${LAYERDIR}/licenses"
> diff --git a/licenses/Elfutils-Exception b/licenses/Elfutils-Exception
> new file mode 100644
> index 0000000..627d769
> --- /dev/null
> +++ b/licenses/Elfutils-Exception
> @@ -0,0 +1,12 @@
> +   This file describes the limits of the Exception under which you are allowed
> +   to distribute Non-GPL Code in linked combination with Red Hat elfutils.
> +   For the full text of the license, please see one of the header files
> +   included with the source distribution or the file COPYING found in the
> +   top level directory of the source.
> +
> +   The Approved Interfaces are the functions declared in the files:
> +
> +   libelf.h
> +   libdw.h
> +   libdwfl.h
> +
> -- 
> 2.17.1
> 
> -- 
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto