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

Martin Jansa martin.jansa at gmail.com
Wed May 15 03:57:00 PDT 2019


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



More information about the yocto mailing list