diff options
author | Leah Rowe <leah@libreboot.org> | 2023-09-25 02:19:30 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-09-25 02:19:48 +0100 |
commit | cc1642096e32f2f71a30ca6adc7fed882786966e (patch) | |
tree | 486cc49465047d11bbdeaa076484a2c8c38ebb4e /script/update | |
parent | a7b767a47bdef371ee146afb052d0723736ea662 (diff) |
Use SPDX license headers on all scripts
This results in much cleaner copyright and license declarations.
SPDX headers are legally recognised and make auditing easier.
Also, remove descriptions of each script, from each script.
Libreboot documentation at docs/maintain/ describes them.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/update')
-rwxr-xr-x | script/update/blobs/download | 3 | ||||
-rwxr-xr-x | script/update/blobs/extract | 4 | ||||
-rwxr-xr-x | script/update/blobs/inject | 3 | ||||
-rwxr-xr-x | script/update/blobs/mrc | 22 | ||||
-rwxr-xr-x | script/update/project/repo | 3 | ||||
-rwxr-xr-x | script/update/project/trees | 25 |
6 files changed, 12 insertions, 48 deletions
diff --git a/script/update/blobs/download b/script/update/blobs/download index 71c0cdb6..d9a745d9 100755 --- a/script/update/blobs/download +++ b/script/update/blobs/download @@ -1,9 +1,8 @@ #!/usr/bin/env sh - +# SPDX-License-Identifier: GPL-3.0-only # SPDX-FileCopyrightText: 2022 Caleb La Grange <thonkpeasant@protonmail.com> # SPDX-FileCopyrightText: 2022 Ferass El Hafidi <vitali64pmemail@protonmail.com> # SPDX-FileCopyrightText: 2023 Leah Rowe <info@minifree.org> -# SPDX-License-Identifier: GPL-3.0-only . "include/err.sh" . "include/defconfig.sh" diff --git a/script/update/blobs/extract b/script/update/blobs/extract index 4404f9e2..8a78a20f 100755 --- a/script/update/blobs/extract +++ b/script/update/blobs/extract @@ -1,9 +1,7 @@ #!/usr/bin/env sh -# script to automate extracting blobs from an existing vendor bios - +# SPDX-License-Identifier: GPL-3.0-only # SPDX-FileCopyrightText: 2022 Caleb La Grange <thonkpeasant@protonmail.com> # SPDX-FileCopyrightText: 2023 Leah Rowe <leah@libreboot.org> -# SPDX-License-Identifier: GPL-3.0-only . "include/err.sh" . "include/defconfig.sh" diff --git a/script/update/blobs/inject b/script/update/blobs/inject index b849f5c5..660815cc 100755 --- a/script/update/blobs/inject +++ b/script/update/blobs/inject @@ -1,9 +1,8 @@ #!/usr/bin/env sh - +# SPDX-License-Identifier: GPL-3.0-only # SPDX-FileCopyrightText: 2022 Caleb La Grange <thonkpeasant@protonmail.com> # SPDX-FileCopyrightText: 2022 Ferass El Hafidi <vitali64pmemail@protonmail.com> # SPDX-FileCopyrightText: 2023 Leah Rowe <info@minifree.org> -# SPDX-License-Identifier: GPL-3.0-only . "include/err.sh" . "include/defconfig.sh" diff --git a/script/update/blobs/mrc b/script/update/blobs/mrc index 7e44b634..4db603cd 100755 --- a/script/update/blobs/mrc +++ b/script/update/blobs/mrc @@ -1,19 +1,9 @@ #!/usr/bin/env sh +# SPDX-License-Identifier: GPL-2.0-only -# Download Intel MRC images -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, version 2 of the License. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# +# Forked from util/chromeos/crosfirmware.sh in coreboot cfc26ce278. Changes to +# it in this version are exclusively by Leah Rowe, copyright as of 2021 and +# 2023, on top of original coreboot copyright auditable in coreboot.git. [ "x${DEBUG+set}" = 'xset' ] && set -v set -u -e @@ -22,10 +12,6 @@ set -u -e export PATH="${PATH}:/sbin" -# This file is forked from util/chromeos/crosfirmware.sh in coreboot cfc26ce278 -# Changes to it in *this version* are copyright 2021 and 2023 Leah Rowe, under -# the same license as above. - # use updated manifest from wayback machine, when updating mrc.bin, # and update the other variables below accordingly. current manifest used: # https://web.archive.org/web/20210211071412/https://dl.google.com/dl/edgedl/chromeos/recovery/recovery.conf diff --git a/script/update/project/repo b/script/update/project/repo index d951fb3b..20e8d905 100755 --- a/script/update/project/repo +++ b/script/update/project/repo @@ -1,9 +1,8 @@ #!/usr/bin/env sh - +# SPDX-License-Identifier: GPL-3.0-only # SPDX-FileCopyrightText: 2022 Caleb La Grange <thonkpeasant@protonmail.com> # SPDX-FileCopyrightText: 2022 Ferass El Hafidi <vitali64pmemail@protonmail.com> # SPDX-FileCopyrightText: 2023 Leah Rowe <leah@libreboot.org> -# SPDX-License-Identifier: GPL-3.0-only . "include/err.sh" diff --git a/script/update/project/trees b/script/update/project/trees index 0c4e9d58..c1470e59 100755 --- a/script/update/project/trees +++ b/script/update/project/trees @@ -1,25 +1,8 @@ #!/usr/bin/env sh - -# helper script: create code trees based on git revision, with patches -# (currently used for downloading coreboot, seabios and u-boot) -# -# Copyright (C) 2014-2016,2020,2021,2023 Leah Rowe <info@minifree.org> -# Copyright (C) 2022 Alper Nebi Yasak <alpernebiyasak@gmail.com> -# Copyright (C) 2022 Ferass El Hafidi <vitali64pmemail@protonmail.com> -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# +# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-FileCopyrightText: 2014-2016,2020,2021,2023 Leah Rowe <info@minifree.org> +# SPDX-FileCopyrightText: 2022 Alper Nebi Yasak <alpernebiyasak@gmail.com> +# SPDX-FileCopyrightText: 2022 Ferass El Hafidi <vitali64pmemail@protonmail.com> [ "x${DEBUG+set}" = 'xset' ] && set -v set -u -e |