>From Ross Burton comment here's the patch v2.

https://bugzilla.yoctoproject.org/show_bug.cgi?id=13524#c4

regards,

Yann CARDAILLAC

On Tue, Oct 8, 2019 at 1:42 PM Ycn aKaJoseph <[email protected]> wrote:

> Hi,
>
> I've been working on bug 13524 :
>
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=13524
>
> Here's the patch.
>
> Basically I've been adding :
>
> # SPDX-License-Identifier: GPL-2.0-or-later
>
> to all .py files.
>
> Regards,
>
> Yann CARDAILLAC
>
From 594bbc4e99b7c768563439064999eb7679d70fff Mon Sep 17 00:00:00 2001
From: Yann CARDAILLAC <[email protected]>
Date: Tue, 8 Oct 2019 14:59:55 +0200
Subject: [PATCH] add License SPDX identifier to scripts

Signed-off-by: Yann CARDAILLAC <[email protected]>
---
 announce.py    | 1 +
 get_cves.py    | 1 +
 get_hashes.py  | 1 +
 rel_type.py    | 1 +
 release.py     | 1 +
 relnotes.py    | 1 +
 testresults.py | 1 +
 unihash.py     | 1 +
 uninative.py   | 1 +
 utils.py       | 1 +
 where_am_i.py  | 1 +
 11 files changed, 11 insertions(+)

diff --git a/announce.py b/announce.py
index 1dc026b..c2c860b 100755
--- a/announce.py
+++ b/announce.py
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 '''
 Created on June 19, 2019
 
diff --git a/get_cves.py b/get_cves.py
index 9946af5..13dd825 100755
--- a/get_cves.py
+++ b/get_cves.py
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 '''
 Created on Nov 7, 2018
 
diff --git a/get_hashes.py b/get_hashes.py
index d83b64d..3d69aa2 100755
--- a/get_hashes.py
+++ b/get_hashes.py
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 '''
 Created on Oct 16, 2018
 
diff --git a/rel_type.py b/rel_type.py
index da1dfd1..7721419 100755
--- a/rel_type.py
+++ b/rel_type.py
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 '''
 Created on Oct 16, 2018
 
diff --git a/release.py b/release.py
index bf8cd3e..a4e5fde 100755
--- a/release.py
+++ b/release.py
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 '''
 Created on Jan 7, 2016
 
diff --git a/relnotes.py b/relnotes.py
index 4954ff1..f55b866 100755
--- a/relnotes.py
+++ b/relnotes.py
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 '''
 Created on Feb 22, 2016
 
diff --git a/testresults.py b/testresults.py
index 65f8a7c..1a3dc95 100755
--- a/testresults.py
+++ b/testresults.py
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 '''
 Created on June 20, 2019
 
diff --git a/unihash.py b/unihash.py
index 5054b90..bf2cbb3 100644
--- a/unihash.py
+++ b/unihash.py
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 '''
 Created on August 7, 2018
 
diff --git a/uninative.py b/uninative.py
index 144a260..beeeff1 100644
--- a/uninative.py
+++ b/uninative.py
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 '''
 Created on July 31, 2017
 
diff --git a/utils.py b/utils.py
index 6cb8e20..b413957 100644
--- a/utils.py
+++ b/utils.py
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 '''
 Created on Oct 16, 2018
 
diff --git a/where_am_i.py b/where_am_i.py
index 9854d9b..c3b05bd 100644
--- a/where_am_i.py
+++ b/where_am_i.py
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 '''
 Created on Aug 21, 2018
 
-- 
2.7.4

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to