Skip to contentSkip to conversation

licenses: restore Elfutils-Exception from oe-core

PATCH In review Martin Jansa 2 participants 2 messages May 15, 2019 – May 16, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 licenses: restore Elfutils-Exception from oe-core

* 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

---
 conf/layer.conf             |  2 ++
 licenses/Elfutils-Exception | 12 ++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 licenses/Elfutils-Exception
conf/layer.conf +2 -0
index 59f6a89..44c6712 100644
@@ -15,3 +15,5 @@ LAYERVERSION_gplv2 = "1"
 LAYERDEPENDS_gplv2 = "core"
 
 LAYERSERIES_COMPAT_gplv2 = "warrior"
+
+LICENSE_PATH += "${LAYERDIR}/licenses"
licenses/Elfutils-Exception new file +12 -0
new file mode 100644
index 0000000..627d769
@@ -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
+
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Martin Jansa

* 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!

Quoted 43 lines
---
 conf/layer.conf             |  2 ++
 licenses/Elfutils-Exception | 12 ++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 licenses/Elfutils-Exception
conf/layer.conf +2 -0
index 59f6a89..44c6712 100644
@@ -15,3 +15,5 @@ LAYERVERSION_gplv2 = "1"
 LAYERDEPENDS_gplv2 = "core"
 
 LAYERSERIES_COMPAT_gplv2 = "warrior"
+
+LICENSE_PATH += "${LAYERDIR}/licenses"
licenses/Elfutils-Exception new file +12 -0
new file mode 100644
index 0000000..627d769
@@ -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
+
Signature · 7 lines
2.17.1

-- 
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto