[elbe-devel] [PATCH 2/2] examples: Relicense to 0BSD
viraj
viraj.shah at linutronix.de
Wed Aug 24 11:00:27 CEST 2022
On 8/19/22 13:06, Bastian Germann wrote:
> GPL-3.0-or-later is applicable to the example XML files but it is a bad
> license for examples because it needs attribution and having the license
> text available along with it. People copy and paste the examples as if
> they were public domain, so apply the 0BSD license to them that does not
> require attribution or keeping the license comment.
>
> Add the license text to debian/copyright.
>
> Signed-off-by: Bastian Germann <bage at linutronix.de>
Makes sense to me, from my side it's okay.
Reviewed-by: Viraj Shah <viraj.shah at linutronix.de>
> ---
> debian/copyright | 14 ++++++++++++++
> examples/arm64-qemu-virt.xml | 4 ++++
> examples/armel-rescue-busybox-cpio.xml | 4 ++++
> examples/armhf-nfs-with-build-tools.xml | 4 ++++
> examples/armhf-ti-beaglebone-black.xml | 4 ++++
> examples/elbe-init-big-machine.xml | 4 ++++
> examples/includes/devel/finetuning.xml | 4 ++++
> examples/includes/devel/hostname.xml | 4 ++++
> examples/includes/devel/mirrors.xml | 4 ++++
> examples/includes/devel/part.xml | 4 ++++
> examples/includes/devel/pkglist.xml | 5 ++++-
> examples/includes/devel/project-finetuning.xml | 4 ++++
> examples/includes/prod/finetuning.xml | 4 ++++
> examples/includes/prod/hostname.xml | 4 ++++
> examples/includes/prod/part.xml | 4 ++++
> examples/includes/prod/pkglist.xml | 5 ++++-
> examples/powerpc.xml | 4 ++++
> examples/x86_32-pc-hdimg-minimal-grub-buster.xml | 4 ++++
> .../x86_32-pc-hdimg-with-include-development.xml | 4 ++++
> .../x86_32-pc-hdimg-with-include-production.xml | 4 ++++
> examples/x86_64-docker-elbe.xml | 4 ++++
> examples/x86_64-docker-systemd.xml | 4 ++++
> examples/x86_64-docker.xml | 4 ++++
> examples/x86_64-pc-hdimg-gnome3.xml | 4 ++++
> examples/x86_64-pc-hdimg-grub-hybrid-buster.xml | 4 ++++
> examples/x86_64-pc-hdimg-grub-uefi-buster.xml | 4 ++++
> examples/x86_64-pc-rescue-busybox-dyn-cpio.xml | 4 ++++
> 27 files changed, 118 insertions(+), 2 deletions(-)
>
> diff --git a/debian/copyright b/debian/copyright
> index e176f4b3f9..9a1bbd47d5 100644
> --- a/debian/copyright
> +++ b/debian/copyright
> @@ -26,6 +26,20 @@ License: GPL-2
> License version 2 can be found in the file
> `/usr/share/common-licenses/GPL-2'.
>
> +Files: examples/*
> +Copyright: Linutronix GmbH
> +License: 0BSD
> + Permission to use, copy, modify, and/or distribute this software for any
> + purpose with or without fee is hereby granted.
> + .
> + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
> + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
> + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
> + ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
> + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
> + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
> + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
> +
> Files: examples/armhf-ubuntu.xml
> Copyright: 2020 Kory Maincent <kory.maincent at bootlin.com>
> License: GPL-3+
> diff --git a/examples/arm64-qemu-virt.xml b/examples/arm64-qemu-virt.xml
> index 72774c02d7..efbfa21b0d 100644
> --- a/examples/arm64-qemu-virt.xml
> +++ b/examples/arm64-qemu-virt.xml
> @@ -1,3 +1,7 @@
> +<!--
> +SPDX-License-Identifier: 0BSD
> +SPDX-FileCopyrightText: Linutronix GmbH
> +-->
> <ns0:RootFileSystem xmlns:ns0="https://www.linutronix.de/projects/Elbe" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" created="2009-05-20T08:50:56" revision="6" xsi:schemaLocation="https://www.linutronix.de/projects/Elbe dbsfed.xsd">
> <project>
> <name>aarch64</name>
> diff --git a/examples/armel-rescue-busybox-cpio.xml b/examples/armel-rescue-busybox-cpio.xml
> index 8c5f78b559..70ae441b05 100644
> --- a/examples/armel-rescue-busybox-cpio.xml
> +++ b/examples/armel-rescue-busybox-cpio.xml
> @@ -1,3 +1,7 @@
> +<!--
> +SPDX-License-Identifier: 0BSD
> +SPDX-FileCopyrightText: Linutronix GmbH
> +-->
> <ns0:RootFileSystem xmlns:ns0="https://www.linutronix.de/projects/Elbe" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" created="2009-05-20T08:50:56" revision="6" xsi:schemaLocation="https://www.linutronix.de/projects/Elbe dbsfed.xsd">
> <project>
> <name>ARM-rescue-image</name>
> diff --git a/examples/armhf-nfs-with-build-tools.xml b/examples/armhf-nfs-with-build-tools.xml
> index aae0f88890..1638cb306b 100644
> --- a/examples/armhf-nfs-with-build-tools.xml
> +++ b/examples/armhf-nfs-with-build-tools.xml
> @@ -1,3 +1,7 @@
> +<!--
> +SPDX-License-Identifier: 0BSD
> +SPDX-FileCopyrightText: Linutronix GmbH
> +-->
> <ns0:RootFileSystem xmlns:ns0="https://www.linutronix.de/projects/Elbe" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" created="2009-05-20T08:50:56" revision="6" xsi:schemaLocation="https://www.linutronix.de/projects/Elbe dbsfed.xsd">
> <project>
> <name>armhf-nfs-root</name>
> diff --git a/examples/armhf-ti-beaglebone-black.xml b/examples/armhf-ti-beaglebone-black.xml
> index 43ac303fc6..7c2cc33cde 100644
> --- a/examples/armhf-ti-beaglebone-black.xml
> +++ b/examples/armhf-ti-beaglebone-black.xml
> @@ -1,3 +1,7 @@
> +<!--
> +SPDX-License-Identifier: 0BSD
> +SPDX-FileCopyrightText: Linutronix GmbH
> +-->
> <ns0:RootFileSystem xmlns:ns0="https://www.linutronix.de/projects/Elbe" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" created="2009-05-20T08:50:56" revision="6" xsi:schemaLocation="https://www.linutronix.de/projects/Elbe dbsfed.xsd">
> <project>
> <!-- human readable description of the project -->
> diff --git a/examples/elbe-init-big-machine.xml b/examples/elbe-init-big-machine.xml
> index 435b2020f4..392588c39f 100644
> --- a/examples/elbe-init-big-machine.xml
> +++ b/examples/elbe-init-big-machine.xml
> @@ -1,3 +1,7 @@
> +<!--
> +SPDX-License-Identifier: 0BSD
> +SPDX-FileCopyrightText: Linutronix GmbH
> +-->
> <ns0:RootFileSystem xmlns:ns0="https://www.linutronix.de/projects/Elbe" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" created="2009-05-20T08:50:56" revision="6" xsi:schemaLocation="https://www.linutronix.de/projects/Elbe dbsfed.xsd">
> <initvm>
> <buildtype>amd64</buildtype>
> diff --git a/examples/includes/devel/finetuning.xml b/examples/includes/devel/finetuning.xml
> index dd99af9b87..0b7fd15e9a 100644
> --- a/examples/includes/devel/finetuning.xml
> +++ b/examples/includes/devel/finetuning.xml
> @@ -1,4 +1,8 @@
> <?xml version="1.0"?>
> +<!--
> +SPDX-License-Identifier: 0BSD
> +SPDX-FileCopyrightText: Linutronix GmbH
> +-->
> <finetuning>
> <adduser shell="/bin/bash" passwd="notsosecure">user</adduser>
> <rm>var/cache/apt/archives/*.deb</rm>
> diff --git a/examples/includes/devel/hostname.xml b/examples/includes/devel/hostname.xml
> index 73cc16e6a8..13bbdcbad5 100644
> --- a/examples/includes/devel/hostname.xml
> +++ b/examples/includes/devel/hostname.xml
> @@ -1,2 +1,6 @@
> <?xml version="1.0"?>
> +<!--
> +SPDX-License-Identifier: 0BSD
> +SPDX-FileCopyrightText: Linutronix GmbH
> +-->
> <hostname>i386-include-devel</hostname>
> diff --git a/examples/includes/devel/mirrors.xml b/examples/includes/devel/mirrors.xml
> index c5ca2fbc60..a9487988ed 100644
> --- a/examples/includes/devel/mirrors.xml
> +++ b/examples/includes/devel/mirrors.xml
> @@ -1,4 +1,8 @@
> <?xml version="1.0"?>
> +<!--
> +SPDX-License-Identifier: 0BSD
> +SPDX-FileCopyrightText: Linutronix GmbH
> +-->
> <url-list>
> <url>
> <binary>http://debian.linutronix.de/elbe buster main</binary>
> diff --git a/examples/includes/devel/part.xml b/examples/includes/devel/part.xml
> index cba2ae0c73..a2c11a7113 100644
> --- a/examples/includes/devel/part.xml
> +++ b/examples/includes/devel/part.xml
> @@ -1,4 +1,8 @@
> <?xml version="1.0"?>
> +<!--
> +SPDX-License-Identifier: 0BSD
> +SPDX-FileCopyrightText: Linutronix GmbH
> +-->
> <msdoshd>
> <name>sda.img</name>
> <size>4000MiB</size>
> diff --git a/examples/includes/devel/pkglist.xml b/examples/includes/devel/pkglist.xml
> index c0332f7eb4..5eae424d55 100644
> --- a/examples/includes/devel/pkglist.xml
> +++ b/examples/includes/devel/pkglist.xml
> @@ -1,5 +1,8 @@
> <?xml version="1.0"?>
> -
> +<!--
> +SPDX-License-Identifier: 0BSD
> +SPDX-FileCopyrightText: Linutronix GmbH
> +-->
> <pkg-list>
> <pkg>linux-image-686-pae</pkg>
> <pkg>grub-pc</pkg>
> diff --git a/examples/includes/devel/project-finetuning.xml b/examples/includes/devel/project-finetuning.xml
> index fb37c39b87..eb9cb2629a 100644
> --- a/examples/includes/devel/project-finetuning.xml
> +++ b/examples/includes/devel/project-finetuning.xml
> @@ -1,4 +1,8 @@
> <?xml version="1.0"?>
> +<!--
> +SPDX-License-Identifier: 0BSD
> +SPDX-FileCopyrightText: Linutronix GmbH
> +-->
> <project-finetuning>
> <unit-tests>
> <test-suite name="Suite 1">
> diff --git a/examples/includes/prod/finetuning.xml b/examples/includes/prod/finetuning.xml
> index 00f72540cd..a764fd95a1 100644
> --- a/examples/includes/prod/finetuning.xml
> +++ b/examples/includes/prod/finetuning.xml
> @@ -1,4 +1,8 @@
> <?xml version="1.0"?>
> +<!--
> +SPDX-License-Identifier: 0BSD
> +SPDX-FileCopyrightText: Linutronix GmbH
> +-->
> <finetuning>
> <adduser shell="/bin/bash" passwd="supersecure">user</adduser>
> <raw_cmd>passwd -d -l root</raw_cmd>
> diff --git a/examples/includes/prod/hostname.xml b/examples/includes/prod/hostname.xml
> index 5ece0166ef..86413cc510 100644
> --- a/examples/includes/prod/hostname.xml
> +++ b/examples/includes/prod/hostname.xml
> @@ -1,2 +1,6 @@
> <?xml version="1.0"?>
> +<!--
> +SPDX-License-Identifier: 0BSD
> +SPDX-FileCopyrightText: Linutronix GmbH
> +-->
> <hostname>i386-include-prod</hostname>
> diff --git a/examples/includes/prod/part.xml b/examples/includes/prod/part.xml
> index 0b94fe1865..589b62adc1 100644
> --- a/examples/includes/prod/part.xml
> +++ b/examples/includes/prod/part.xml
> @@ -1,4 +1,8 @@
> <?xml version="1.0"?>
> +<!--
> +SPDX-License-Identifier: 0BSD
> +SPDX-FileCopyrightText: Linutronix GmbH
> +-->
> <msdoshd>
> <name>sda.img</name>
> <size>1900MiB</size>
> diff --git a/examples/includes/prod/pkglist.xml b/examples/includes/prod/pkglist.xml
> index ddde9c5ab2..52b06f4e98 100644
> --- a/examples/includes/prod/pkglist.xml
> +++ b/examples/includes/prod/pkglist.xml
> @@ -1,5 +1,8 @@
> <?xml version="1.0"?>
> -
> +<!--
> +SPDX-License-Identifier: 0BSD
> +SPDX-FileCopyrightText: Linutronix GmbH
> +-->
> <pkg-list>
> <pkg>linux-image-686-pae</pkg>
> <pkg>grub-pc</pkg>
> diff --git a/examples/powerpc.xml b/examples/powerpc.xml
> index 432edc7d24..f2b1d346f0 100644
> --- a/examples/powerpc.xml
> +++ b/examples/powerpc.xml
> @@ -1,3 +1,7 @@
> +<!--
> +SPDX-License-Identifier: 0BSD
> +SPDX-FileCopyrightText: Linutronix GmbH
> +-->
> <ns0:RootFileSystem xmlns:ns0="https://www.linutronix.de/projects/Elbe" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" created="2009-05-20T08:50:56" revision="6" xsi:schemaLocation="https://www.linutronix.de/projects/Elbe dbsfed.xsd">
> <project>
> <name>powerpc-example</name>
> diff --git a/examples/x86_32-pc-hdimg-minimal-grub-buster.xml b/examples/x86_32-pc-hdimg-minimal-grub-buster.xml
> index 8f69b2dcfc..38c3635de4 100644
> --- a/examples/x86_32-pc-hdimg-minimal-grub-buster.xml
> +++ b/examples/x86_32-pc-hdimg-minimal-grub-buster.xml
> @@ -1,3 +1,7 @@
> +<!--
> +SPDX-License-Identifier: 0BSD
> +SPDX-FileCopyrightText: Linutronix GmbH
> +-->
> <ns0:RootFileSystem xmlns:ns0="https://www.linutronix.de/projects/Elbe" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" created="2009-05-20T08:50:56" revision="6" xsi:schemaLocation="https://www.linutronix.de/projects/Elbe dbsfed.xsd">
> <project>
> <name>i386-buster-grub</name>
> diff --git a/examples/x86_32-pc-hdimg-with-include-development.xml b/examples/x86_32-pc-hdimg-with-include-development.xml
> index 146fb46b5d..aa698c4bf8 100644
> --- a/examples/x86_32-pc-hdimg-with-include-development.xml
> +++ b/examples/x86_32-pc-hdimg-with-include-development.xml
> @@ -1,3 +1,7 @@
> +<!--
> +SPDX-License-Identifier: 0BSD
> +SPDX-FileCopyrightText: Linutronix GmbH
> +-->
> <ns0:RootFileSystem xmlns:ns0="https://www.linutronix.de/projects/Elbe"
> xmlns:xi="http://www.w3.org/2003/XInclude"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> diff --git a/examples/x86_32-pc-hdimg-with-include-production.xml b/examples/x86_32-pc-hdimg-with-include-production.xml
> index 42be1937be..ab631ce810 100644
> --- a/examples/x86_32-pc-hdimg-with-include-production.xml
> +++ b/examples/x86_32-pc-hdimg-with-include-production.xml
> @@ -1,3 +1,7 @@
> +<!--
> +SPDX-License-Identifier: 0BSD
> +SPDX-FileCopyrightText: Linutronix GmbH
> +-->
> <ns0:RootFileSystem xmlns:ns0="https://www.linutronix.de/projects/Elbe"
> xmlns:xi="http://www.w3.org/2003/XInclude"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> diff --git a/examples/x86_64-docker-elbe.xml b/examples/x86_64-docker-elbe.xml
> index 6dc88cd4eb..3e13a65bdc 100644
> --- a/examples/x86_64-docker-elbe.xml
> +++ b/examples/x86_64-docker-elbe.xml
> @@ -1,3 +1,7 @@
> +<!--
> +SPDX-License-Identifier: 0BSD
> +SPDX-FileCopyrightText: Linutronix GmbH
> +-->
> <ns0:RootFileSystem xmlns:ns0="https://www.linutronix.de/projects/Elbe" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" created="2009-05-20T08:50:56" revision="6" xsi:schemaLocation="https://www.linutronix.de/projects/Elbe dbsfed.xsd">
> <project>
> <name>debian docker systemd base image</name>
> diff --git a/examples/x86_64-docker-systemd.xml b/examples/x86_64-docker-systemd.xml
> index 62e974ed2d..dbab31d926 100644
> --- a/examples/x86_64-docker-systemd.xml
> +++ b/examples/x86_64-docker-systemd.xml
> @@ -1,3 +1,7 @@
> +<!--
> +SPDX-License-Identifier: 0BSD
> +SPDX-FileCopyrightText: Linutronix GmbH
> +-->
> <ns0:RootFileSystem xmlns:ns0="https://www.linutronix.de/projects/Elbe" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" created="2009-05-20T08:50:56" revision="6" xsi:schemaLocation="https://www.linutronix.de/projects/Elbe dbsfed.xsd">
> <project>
> <name>debian docker systemd base image</name>
> diff --git a/examples/x86_64-docker.xml b/examples/x86_64-docker.xml
> index 9f19884bc7..81f526a290 100644
> --- a/examples/x86_64-docker.xml
> +++ b/examples/x86_64-docker.xml
> @@ -1,3 +1,7 @@
> +<!--
> +SPDX-License-Identifier: 0BSD
> +SPDX-FileCopyrightText: Linutronix GmbH
> +-->
> <ns0:RootFileSystem xmlns:ns0="https://www.linutronix.de/projects/Elbe" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" created="2009-05-20T08:50:56" revision="6" xsi:schemaLocation="https://www.linutronix.de/projects/Elbe dbsfed.xsd">
> <project>
> <name>debian docker base image</name>
> diff --git a/examples/x86_64-pc-hdimg-gnome3.xml b/examples/x86_64-pc-hdimg-gnome3.xml
> index 884bff9e1b..6e035cea48 100644
> --- a/examples/x86_64-pc-hdimg-gnome3.xml
> +++ b/examples/x86_64-pc-hdimg-gnome3.xml
> @@ -1,3 +1,7 @@
> +<!--
> +SPDX-License-Identifier: 0BSD
> +SPDX-FileCopyrightText: Linutronix GmbH
> +-->
> <ns0:RootFileSystem xmlns:ns0="https://www.linutronix.de/projects/Elbe" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" created="2009-05-20T08:50:56" revision="6" xsi:schemaLocation="https://www.linutronix.de/projects/Elbe dbsfed.xsd">
> <project>
> <name>elbe-gnome3</name>
> diff --git a/examples/x86_64-pc-hdimg-grub-hybrid-buster.xml b/examples/x86_64-pc-hdimg-grub-hybrid-buster.xml
> index 00589fdf63..6682d4696d 100644
> --- a/examples/x86_64-pc-hdimg-grub-hybrid-buster.xml
> +++ b/examples/x86_64-pc-hdimg-grub-hybrid-buster.xml
> @@ -1,3 +1,7 @@
> +<!--
> +SPDX-License-Identifier: 0BSD
> +SPDX-FileCopyrightText: Linutronix GmbH
> +-->
> <ns0:RootFileSystem xmlns:ns0="https://www.linutronix.de/projects/Elbe" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" created="2009-05-20T08:50:56" revision="6" xsi:schemaLocation="https://www.linutronix.de/projects/Elbe dbsfed.xsd">
> <project>
> <name>amd64-grub-hybrid-buster</name>
> diff --git a/examples/x86_64-pc-hdimg-grub-uefi-buster.xml b/examples/x86_64-pc-hdimg-grub-uefi-buster.xml
> index 36a0058b57..a1595a491d 100644
> --- a/examples/x86_64-pc-hdimg-grub-uefi-buster.xml
> +++ b/examples/x86_64-pc-hdimg-grub-uefi-buster.xml
> @@ -1,3 +1,7 @@
> +<!--
> +SPDX-License-Identifier: 0BSD
> +SPDX-FileCopyrightText: Linutronix GmbH
> +-->
> <ns0:RootFileSystem xmlns:ns0="https://www.linutronix.de/projects/Elbe" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" created="2009-05-20T08:50:56" revision="6" xsi:schemaLocation="https://www.linutronix.de/projects/Elbe dbsfed.xsd">
> <project>
> <name>amd64-grub-uefi-buster</name>
> diff --git a/examples/x86_64-pc-rescue-busybox-dyn-cpio.xml b/examples/x86_64-pc-rescue-busybox-dyn-cpio.xml
> index ed17acbf13..efe3bf08ef 100644
> --- a/examples/x86_64-pc-rescue-busybox-dyn-cpio.xml
> +++ b/examples/x86_64-pc-rescue-busybox-dyn-cpio.xml
> @@ -1,3 +1,7 @@
> +<!--
> +SPDX-License-Identifier: 0BSD
> +SPDX-FileCopyrightText: Linutronix GmbH
> +-->
> <ns0:RootFileSystem xmlns:ns0="https://www.linutronix.de/projects/Elbe" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" created="2009-05-20T08:50:56" revision="6" xsi:schemaLocation="https://www.linutronix.de/projects/Elbe dbsfed.xsd">
> <project>
> <name>x86_64-rescue-image</name>
--
Viraj Shah
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 16; Fax.: +49 7556 25 999 99
Hinweise zum Datenschutz finden Sie hier (Informations on data privacy
can be found here): https://linutronix.de/kontakt/Datenschutz.php
Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen |
Registergericht (Registration Court): Amtsgericht Freiburg i.Br. HRB700
806 | Geschäftsführer (Managing Directors): Heinz Egger, Thomas Gleixner
More information about the elbe-devel
mailing list