diff mbox series

[meta-yocto,blacksail,1/5] Fix LICENSE file and licensing

Message ID e6ab1239dabcd88cc783cb803dd4adfda804944a.1793868274.git.yoann.congal@smile.fr (mailing list archive)
State New
Headers show
Series [meta-yocto,blacksail,1/5] Fix LICENSE file and licensing | expand

Commit Message

Yoann Congal Nov. 5, 2026, 8:45 a.m. UTC
From: Richard Purdie <richard.purdie@linuxfoundation.org>

After the split from poky, the paths no longer make sense. Simplify
things as meta-yocto is all MIT licensed.

Add in the correct license file.

Also clean up a couple of references to an invalid file, we can use
a license identifier instead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 61c27a174a1feb2a9f211c0475ed6c8e413392b0)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
 LICENSE                                       | 14 ++---------
 LICENSE.MIT                                   | 25 +++++++++++++++++++
 .../lib/oeqa/controllers/beaglebonetarget.py  |  4 +--
 .../lib/oeqa/controllers/grubtarget.py        |  2 +-
 4 files changed, 30 insertions(+), 15 deletions(-)
 create mode 100644 LICENSE.MIT

Comments

Mark Jonas Nov. 6, 2026, 7:38 a.m. UTC | #1
Hi Yoann,

> From: Richard Purdie <richard.purdie@linuxfoundation.org>
>
> After the split from poky, the paths no longer make sense. Simplify
> things as meta-yocto is all MIT licensed.
>
> Add in the correct license file.
>
> Also clean up a couple of references to an invalid file, we can use
> a license identifier instead.
>
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> (cherry picked from commit 61c27a174a1feb2a9f211c0475ed6c8e413392b0)
> Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
> ---
>  LICENSE                                       | 14 ++---------
>  LICENSE.MIT                                   | 25 +++++++++++++++++++
>  .../lib/oeqa/controllers/beaglebonetarget.py  |  4 +--
>  .../lib/oeqa/controllers/grubtarget.py        |  2 +-
>  4 files changed, 30 insertions(+), 15 deletions(-)
>  create mode 100644 LICENSE.MIT

I think it would make sense to backport the license fix to Wrynose as
well due to its long lifetime.

Thanks,
Mark
Yoann Congal Nov. 6, 2026, 8:54 a.m. UTC | #2
On Fri Nov 6, 2026 at 8:38 AM CET, Mark Jonas wrote:
> Hi Yoann,
>
>> From: Richard Purdie <richard.purdie@linuxfoundation.org>
>>
>> After the split from poky, the paths no longer make sense. Simplify
>> things as meta-yocto is all MIT licensed.
>>
>> Add in the correct license file.
>>
>> Also clean up a couple of references to an invalid file, we can use
>> a license identifier instead.
>>
>> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>> (cherry picked from commit 61c27a174a1feb2a9f211c0475ed6c8e413392b0)
>> Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
>> ---
>>  LICENSE                                       | 14 ++---------
>>  LICENSE.MIT                                   | 25 +++++++++++++++++++
>>  .../lib/oeqa/controllers/beaglebonetarget.py  |  4 +--
>>  .../lib/oeqa/controllers/grubtarget.py        |  2 +-
>>  4 files changed, 30 insertions(+), 15 deletions(-)
>>  create mode 100644 LICENSE.MIT
>
> I think it would make sense to backport the license fix to Wrynose as
> well due to its long lifetime.

Yes, agreed. I've added it to my review branch. It should be included in
the current cycle.

Thanks!

>
> Thanks,
> Mark
diff mbox series

Patch

diff --git a/LICENSE b/LICENSE
index 4dc9a312..a7aac9b3 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,14 +1,4 @@ 
-Different components of Poky are under different licenses (a mix of 
-MIT and GPLv2). Please see:
-
-bitbake/COPYING (GPLv2)
-meta/COPYING.MIT (MIT)
-meta-extras/COPYING.MIT (MIT)
-
-which cover the components in those subdirectories. This means all 
-metadata is MIT licensed unless otherwise stated. Source code included 
-in tree for individual recipes is under the LICENSE stated in the .bb 
+All metadata is MIT licensed (see LICENSE.MIT) unless otherwise stated. Source code
+included in tree for individual recipes is under the LICENSE stated in the .bb
 file for those software projects unless otherwise stated.
 
-License information for any other files is either explicitly stated 
-or defaults to GPL version 2.
diff --git a/LICENSE.MIT b/LICENSE.MIT
new file mode 100644
index 00000000..a6919eb7
--- /dev/null
+++ b/LICENSE.MIT
@@ -0,0 +1,25 @@ 
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+Note:
+Individual files contain the following tag instead of the full license text.
+
+    SPDX-License-Identifier: MIT
+
+This enables machine processing of license information based on the SPDX
+License Identifiers that are here available: http://spdx.org/licenses/
diff --git a/meta-yocto-bsp/lib/oeqa/controllers/beaglebonetarget.py b/meta-yocto-bsp/lib/oeqa/controllers/beaglebonetarget.py
index 7af3e1da..f116d573 100644
--- a/meta-yocto-bsp/lib/oeqa/controllers/beaglebonetarget.py
+++ b/meta-yocto-bsp/lib/oeqa/controllers/beaglebonetarget.py
@@ -1,7 +1,7 @@ 
 # Copyright (C) 2014 Intel Corporation
 #
-# Released under the MIT license (see COPYING.MIT)
-
+# SPDX-License-Identifier: MIT
+#
 # This module adds support to testimage.bbclass to deploy images and run
 # tests on a BeagleBone (original "white" or Black models). The device must
 # be set up as per README.hardware and the master image should be deployed
diff --git a/meta-yocto-bsp/lib/oeqa/controllers/grubtarget.py b/meta-yocto-bsp/lib/oeqa/controllers/grubtarget.py
index c3a98979..355d414c 100644
--- a/meta-yocto-bsp/lib/oeqa/controllers/grubtarget.py
+++ b/meta-yocto-bsp/lib/oeqa/controllers/grubtarget.py
@@ -1,6 +1,6 @@ 
 # Copyright (C) 2014 Intel Corporation
 #
-# Released under the MIT license (see COPYING.MIT)
+# SPDX-License-Identifier: MIT
 
 # This module adds support to testimage.bbclass to deploy images and run
 # tests on a Generic PC that boots using grub bootloader. The device must