diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-08 18:22:19 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-09 16:31:55 +0100 |
commit | ffae400179fd0b64f8882cf79d78e1c0f2d74bee (patch) | |
tree | cc5e242e02c3621ea124552ecb9779371500335b /scripts/postinst-intercepts | |
parent | c7592b01478def091b6787412390c61e7ce0a0cd (diff) | |
download | poky-ffae400179fd0b64f8882cf79d78e1c0f2d74bee.tar.gz |
meta/lib+scripts: Convert to SPDX license headers
This adds SPDX license headers in place of the wide assortment of things
currently in our script headers. We default to GPL-2.0-only except for the
oeqa code where it was clearly submitted and marked as MIT on the most part
or some scripts which had the "or later" GPL versioning.
The patch also drops other obsolete bits of file headers where they were
encoountered such as editor modelines, obsolete maintainer information or
the phrase "All rights reserved" which is now obsolete and not required in
copyright headers (in this case its actually confusing for licensing as all
rights were not reserved).
More work is needed for OE-Core but this takes care of the bulk of the scripts
and meta/lib directories.
The top level LICENSE files are tweaked to match the new structure and the
SPDX naming.
(From OE-Core rev: f8c9c511b5f1b7dbd45b77f345cb6c048ae6763e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/postinst-intercepts')
-rw-r--r-- | scripts/postinst-intercepts/delay_to_first_boot | 4 | ||||
-rwxr-xr-x | scripts/postinst-intercepts/postinst_intercept | 2 | ||||
-rw-r--r-- | scripts/postinst-intercepts/update_font_cache | 3 | ||||
-rw-r--r-- | scripts/postinst-intercepts/update_gio_module_cache | 3 | ||||
-rw-r--r-- | scripts/postinst-intercepts/update_gtk_immodules_cache | 3 | ||||
-rw-r--r-- | scripts/postinst-intercepts/update_icon_cache | 3 | ||||
-rw-r--r-- | scripts/postinst-intercepts/update_pixbuf_cache | 3 | ||||
-rw-r--r-- | scripts/postinst-intercepts/update_udev_hwdb | 3 |
8 files changed, 24 insertions, 0 deletions
diff --git a/scripts/postinst-intercepts/delay_to_first_boot b/scripts/postinst-intercepts/delay_to_first_boot index ecdbef95dd..fa8e1caaf5 100644 --- a/scripts/postinst-intercepts/delay_to_first_boot +++ b/scripts/postinst-intercepts/delay_to_first_boot | |||
@@ -1,2 +1,6 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # | ||
3 | # SPDX-License-Identifier: MIT | ||
4 | # | ||
5 | |||
2 | exit 1 | 6 | exit 1 |
diff --git a/scripts/postinst-intercepts/postinst_intercept b/scripts/postinst-intercepts/postinst_intercept index b18e806d43..b91974c885 100755 --- a/scripts/postinst-intercepts/postinst_intercept +++ b/scripts/postinst-intercepts/postinst_intercept | |||
@@ -1,5 +1,7 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # | 2 | # |
3 | # SPDX-License-Identifier: MIT | ||
4 | # | ||
3 | # This script is called from inside postinstall scriptlets at do_rootfs time. It | 5 | # This script is called from inside postinstall scriptlets at do_rootfs time. It |
4 | # actually adds, at the end, the list of packages for which the intercept script | 6 | # actually adds, at the end, the list of packages for which the intercept script |
5 | # is valid. Also, if one wants to pass any variables to the intercept script from | 7 | # is valid. Also, if one wants to pass any variables to the intercept script from |
diff --git a/scripts/postinst-intercepts/update_font_cache b/scripts/postinst-intercepts/update_font_cache index e0ec471964..3053c7065f 100644 --- a/scripts/postinst-intercepts/update_font_cache +++ b/scripts/postinst-intercepts/update_font_cache | |||
@@ -1,4 +1,7 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # | ||
3 | # SPDX-License-Identifier: MIT | ||
4 | # | ||
2 | 5 | ||
3 | set -e | 6 | set -e |
4 | 7 | ||
diff --git a/scripts/postinst-intercepts/update_gio_module_cache b/scripts/postinst-intercepts/update_gio_module_cache index d1f0140947..c87fa85db9 100644 --- a/scripts/postinst-intercepts/update_gio_module_cache +++ b/scripts/postinst-intercepts/update_gio_module_cache | |||
@@ -1,4 +1,7 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # | ||
3 | # SPDX-License-Identifier: MIT | ||
4 | # | ||
2 | 5 | ||
3 | set -e | 6 | set -e |
4 | 7 | ||
diff --git a/scripts/postinst-intercepts/update_gtk_immodules_cache b/scripts/postinst-intercepts/update_gtk_immodules_cache index 395516971e..9f07ccca6b 100644 --- a/scripts/postinst-intercepts/update_gtk_immodules_cache +++ b/scripts/postinst-intercepts/update_gtk_immodules_cache | |||
@@ -1,4 +1,7 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # | ||
3 | # SPDX-License-Identifier: MIT | ||
4 | # | ||
2 | 5 | ||
3 | set -e | 6 | set -e |
4 | 7 | ||
diff --git a/scripts/postinst-intercepts/update_icon_cache b/scripts/postinst-intercepts/update_icon_cache index 9cf2a72a0c..212209a9da 100644 --- a/scripts/postinst-intercepts/update_icon_cache +++ b/scripts/postinst-intercepts/update_icon_cache | |||
@@ -1,4 +1,7 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # | ||
3 | # SPDX-License-Identifier: MIT | ||
4 | # | ||
2 | 5 | ||
3 | set -e | 6 | set -e |
4 | 7 | ||
diff --git a/scripts/postinst-intercepts/update_pixbuf_cache b/scripts/postinst-intercepts/update_pixbuf_cache index ebea07c356..ea12814474 100644 --- a/scripts/postinst-intercepts/update_pixbuf_cache +++ b/scripts/postinst-intercepts/update_pixbuf_cache | |||
@@ -1,4 +1,7 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # | ||
3 | # SPDX-License-Identifier: MIT | ||
4 | # | ||
2 | 5 | ||
3 | set -e | 6 | set -e |
4 | 7 | ||
diff --git a/scripts/postinst-intercepts/update_udev_hwdb b/scripts/postinst-intercepts/update_udev_hwdb index b5cce0a09d..c4fb2bffcb 100644 --- a/scripts/postinst-intercepts/update_udev_hwdb +++ b/scripts/postinst-intercepts/update_udev_hwdb | |||
@@ -1,4 +1,7 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # | ||
3 | # SPDX-License-Identifier: MIT | ||
4 | # | ||
2 | 5 | ||
3 | set -e | 6 | set -e |
4 | 7 | ||