Skip to content

Commit

Permalink
Avoid deprecated SPDX license Identifier "GPL-2.0"
Browse files Browse the repository at this point in the history
This had the semantic of current Identifier "GPL-2.0-only", so switch to
that.

Signed-off-by: Jan Kiszka <[email protected]>
  • Loading branch information
jan-kiszka committed Aug 30, 2024
1 parent ae9ccc1 commit f2b18de
Show file tree
Hide file tree
Showing 84 changed files with 84 additions and 84 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This work is licensed under the terms of the GNU GPL, version 2. See
# the COPYING file in the top-level directory.
#
# SPDX-License-Identifier: GPL-2.0
# SPDX-License-Identifier: GPL-2.0-only

# This file is meant to set up your editor, see https://editorconfig.org.
root = true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# This work is licensed under the terms of the GNU GPL, version 2. See
# the COPYING file in the top-level directory.
#
# SPDX-License-Identifier: GPL-2.0
# SPDX-License-Identifier: GPL-2.0-only
#

name: Coverity Scan
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# This work is licensed under the terms of the GNU GPL, version 2. See
# the COPYING file in the top-level directory.
#
# SPDX-License-Identifier: GPL-2.0
# SPDX-License-Identifier: GPL-2.0-only
#

name: CI
Expand Down
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# This work is licensed under the terms of the GNU GPL, version 2. See
# the COPYING file in the top-level directory.
#
# SPDX-License-Identifier: GPL-2.0
# SPDX-License-Identifier: GPL-2.0-only
#
# Based on Makefile.am of gummiboot,
# Copyright (C) 2013 Karel Zak <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion bootguard.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* SPDX-License-Identifier: GPL-2.0
* SPDX-License-Identifier: GPL-2.0-only
*/

#include "bootguard.h"
Expand Down
2 changes: 1 addition & 1 deletion completion/bg_printenv/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# This work is licensed under the terms of the GNU GPL, version 2. See
# the COPYING file in the top-level directory.
#
# SPDX-License-Identifier: GPL-2.0
# SPDX-License-Identifier: GPL-2.0-only

import argparse

Expand Down
2 changes: 1 addition & 1 deletion completion/bg_setenv/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# This work is licensed under the terms of the GNU GPL, version 2. See
# the COPYING file in the top-level directory.
#
# SPDX-License-Identifier: GPL-2.0
# SPDX-License-Identifier: GPL-2.0-only

import argparse

Expand Down
2 changes: 1 addition & 1 deletion completion/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# This work is licensed under the terms of the GNU GPL, version 2. See
# the COPYING file in the top-level directory.
#
# SPDX-License-Identifier: GPL-2.0
# SPDX-License-Identifier: GPL-2.0-only

import shtab

Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# This work is licensed under the terms of the GNU GPL, version 2. See
# the COPYING file in the top-level directory.
#
# SPDX-License-Identifier: GPL-2.0
# SPDX-License-Identifier: GPL-2.0-only
#
# Based on configure.ac of gummiboot,
# Copyright (C) 2013 Karel Zak <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion drivers/utils/simatic.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* SPDX-License-Identifier: GPL-2.0
* SPDX-License-Identifier: GPL-2.0-only
*/

#include <efi.h>
Expand Down
2 changes: 1 addition & 1 deletion drivers/utils/smbios.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* SPDX-License-Identifier: GPL-2.0
* SPDX-License-Identifier: GPL-2.0-only
*/

#include <smbios.h>
Expand Down
2 changes: 1 addition & 1 deletion drivers/watchdog/amdfch_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* SPDX-License-Identifier: GPL-2.0
* SPDX-License-Identifier: GPL-2.0-only
*/

#include <efi.h>
Expand Down
2 changes: 1 addition & 1 deletion drivers/watchdog/atom-quark.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* SPDX-License-Identifier: GPL-2.0
* SPDX-License-Identifier: GPL-2.0-only
*/

#include <efi.h>
Expand Down
2 changes: 1 addition & 1 deletion drivers/watchdog/eiois200_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* SPDX-License-Identifier: GPL-2.0
* SPDX-License-Identifier: GPL-2.0-only
*/

#include <efi.h>
Expand Down
2 changes: 1 addition & 1 deletion drivers/watchdog/hpwdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* SPDX-License-Identifier: GPL-2.0
* SPDX-License-Identifier: GPL-2.0-only
*/

#include <efi.h>
Expand Down
2 changes: 1 addition & 1 deletion drivers/watchdog/i6300esb.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* SPDX-License-Identifier: GPL-2.0
* SPDX-License-Identifier: GPL-2.0-only
*/

#include <efi.h>
Expand Down
2 changes: 1 addition & 1 deletion drivers/watchdog/ipc4x7e_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* SPDX-License-Identifier: GPL-2.0
* SPDX-License-Identifier: GPL-2.0-only
*/

#include <efi.h>
Expand Down
2 changes: 1 addition & 1 deletion drivers/watchdog/ipmi_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* SPDX-License-Identifier: GPL-2.0
* SPDX-License-Identifier: GPL-2.0-only
*/

#include <efi.h>
Expand Down
2 changes: 1 addition & 1 deletion drivers/watchdog/itco.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* SPDX-License-Identifier: GPL-2.0
* SPDX-License-Identifier: GPL-2.0-only
*/

#include <efi.h>
Expand Down
2 changes: 1 addition & 1 deletion drivers/watchdog/w83627hf_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* SPDX-License-Identifier: GPL-2.0
* SPDX-License-Identifier: GPL-2.0-only
*/

#include <efi.h>
Expand Down
2 changes: 1 addition & 1 deletion drivers/watchdog/wdat.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* SPDX-License-Identifier: GPL-2.0
* SPDX-License-Identifier: GPL-2.0-only
*/

#include <efi.h>
Expand Down
2 changes: 1 addition & 1 deletion drivers/watchdog/wdfuncs_end.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* SPDX-License-Identifier: GPL-2.0
* SPDX-License-Identifier: GPL-2.0-only
*/

#include <efi.h>
Expand Down
2 changes: 1 addition & 1 deletion drivers/watchdog/wdfuncs_start.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* SPDX-License-Identifier: GPL-2.0
* SPDX-License-Identifier: GPL-2.0-only
*/

#include <efi.h>
Expand Down
2 changes: 1 addition & 1 deletion env/env_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* SPDX-License-Identifier: GPL-2.0
* SPDX-License-Identifier: GPL-2.0-only
*/

#include "env_api.h"
Expand Down
2 changes: 1 addition & 1 deletion env/env_api_crc32.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* SPDX-License-Identifier: GPL-2.0
* SPDX-License-Identifier: GPL-2.0-only
*/

/*-
Expand Down
2 changes: 1 addition & 1 deletion env/env_api_fat.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* SPDX-License-Identifier: GPL-2.0
* SPDX-License-Identifier: GPL-2.0-only
*/

#include "env_api.h"
Expand Down
2 changes: 1 addition & 1 deletion env/env_config_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* SPDX-License-Identifier: GPL-2.0
* SPDX-License-Identifier: GPL-2.0-only
*/

#include <stdlib.h>
Expand Down
2 changes: 1 addition & 1 deletion env/env_config_partitions.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* SPDX-License-Identifier: GPL-2.0
* SPDX-License-Identifier: GPL-2.0-only
*/

#include "env_api.h"
Expand Down
2 changes: 1 addition & 1 deletion env/env_disk_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* SPDX-License-Identifier: GPL-2.0
* SPDX-License-Identifier: GPL-2.0-only
*/

#include <stdlib.h>
Expand Down
2 changes: 1 addition & 1 deletion env/fatvars.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* SPDX-License-Identifier: GPL-2.0
* SPDX-License-Identifier: GPL-2.0-only
*/

#include <efi.h>
Expand Down
2 changes: 1 addition & 1 deletion env/syspart.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* SPDX-License-Identifier: GPL-2.0
* SPDX-License-Identifier: GPL-2.0-only
*/

#include <syspart.h>
Expand Down
2 changes: 1 addition & 1 deletion env/uservars.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* SPDX-License-Identifier: GPL-2.0
* SPDX-License-Identifier: GPL-2.0-only
*/

#include <string.h>
Expand Down
2 changes: 1 addition & 1 deletion gen_version_h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# This work is licensed under the terms of the GNU GPL, version 2. See
# the COPYING file in the top-level directory.
#
# SPDX-License-Identifier: GPL-2.0
# SPDX-License-Identifier: GPL-2.0-only
#

echo "/* Auto-generated - leave alone and don't commit! */"
Expand Down
2 changes: 1 addition & 1 deletion include/bootguard.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* SPDX-License-Identifier: GPL-2.0
* SPDX-License-Identifier: GPL-2.0-only
*/

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion include/configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* SPDX-License-Identifier: GPL-2.0
* SPDX-License-Identifier: GPL-2.0-only
*/

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion include/ebgenv.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* SPDX-License-Identifier: GPL-2.0
* SPDX-License-Identifier: GPL-2.0-only
*
*/

Expand Down
2 changes: 1 addition & 1 deletion include/ebgpart.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* SPDX-License-Identifier: GPL-2.0
* SPDX-License-Identifier: GPL-2.0-only
*
*
* This code implements functions to scan for FAT partitions in DOS/GPT
Expand Down
2 changes: 1 addition & 1 deletion include/env_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* SPDX-License-Identifier: GPL-2.0
* SPDX-License-Identifier: GPL-2.0-only
*/

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion include/env_config_file.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* SPDX-License-Identifier: GPL-2.0
* SPDX-License-Identifier: GPL-2.0-only
*/

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion include/env_config_partitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* SPDX-License-Identifier: GPL-2.0
* SPDX-License-Identifier: GPL-2.0-only
*/

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion include/env_disk_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* SPDX-License-Identifier: GPL-2.0
* SPDX-License-Identifier: GPL-2.0-only
*/

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion include/envdata.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* SPDX-License-Identifier: GPL-2.0
* SPDX-License-Identifier: GPL-2.0-only
*/

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion include/loader_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* SPDX-License-Identifier: GPL-2.0
* SPDX-License-Identifier: GPL-2.0-only
*/

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion include/mmio.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* SPDX-License-Identifier: GPL-2.0
* SPDX-License-Identifier: GPL-2.0-only
*/

#include <efi.h>
Expand Down
Loading

0 comments on commit f2b18de

Please sign in to comment.