From 41cd5a0798cdd17a99e164c6306a7f85312cd0af Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Mon, 28 Dec 2020 00:58:46 +0200 Subject: [PATCH] Replace Apache 2.0 boilerplate/reference with SPDX Change-Id: I691c4893e500aa791868adb82573ef2357805faf --- extract_utils.sh | 14 ++------------ templates/multi-device/common/extract-files.sh | 12 +----------- templates/multi-device/common/setup-makefiles.sh | 12 +----------- templates/multi-device/device/extract-files.sh | 12 +----------- templates/multi-device/device/setup-makefiles.sh | 12 +----------- templates/single-device/extract-files.sh | 12 +----------- templates/single-device/setup-makefiles.sh | 12 +----------- 7 files changed, 8 insertions(+), 78 deletions(-) diff --git a/extract_utils.sh b/extract_utils.sh index 26f1ea5..b531d4d 100644 --- a/extract_utils.sh +++ b/extract_utils.sh @@ -1,19 +1,9 @@ #!/bin/bash # # Copyright (C) 2016 The CyanogenMod Project -# 2017-2020 The LineageOS Project +# Copyright (C) 2017-2020 The LineageOS Project # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 # PRODUCT_COPY_FILES_LIST=() diff --git a/templates/multi-device/common/extract-files.sh b/templates/multi-device/common/extract-files.sh index 0aa3cfd..22d3afe 100755 --- a/templates/multi-device/common/extract-files.sh +++ b/templates/multi-device/common/extract-files.sh @@ -3,17 +3,7 @@ # Copyright (C) 2016 The CyanogenMod Project # Copyright (C) 2017-2020 The LineageOS Project # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 # set -e diff --git a/templates/multi-device/common/setup-makefiles.sh b/templates/multi-device/common/setup-makefiles.sh index a03188d..5ae929d 100755 --- a/templates/multi-device/common/setup-makefiles.sh +++ b/templates/multi-device/common/setup-makefiles.sh @@ -3,17 +3,7 @@ # Copyright (C) 2016 The CyanogenMod Project # Copyright (C) 2017-2020 The LineageOS Project # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 # set -e diff --git a/templates/multi-device/device/extract-files.sh b/templates/multi-device/device/extract-files.sh index 5be8797..fb64cb6 100755 --- a/templates/multi-device/device/extract-files.sh +++ b/templates/multi-device/device/extract-files.sh @@ -3,17 +3,7 @@ # Copyright (C) 2016 The CyanogenMod Project # Copyright (C) 2017-2020 The LineageOS Project # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 # function blob_fixup() { diff --git a/templates/multi-device/device/setup-makefiles.sh b/templates/multi-device/device/setup-makefiles.sh index 94a50e7..c534c64 100755 --- a/templates/multi-device/device/setup-makefiles.sh +++ b/templates/multi-device/device/setup-makefiles.sh @@ -3,17 +3,7 @@ # Copyright (C) 2016 The CyanogenMod Project # Copyright (C) 2017-2020 The LineageOS Project # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 # set -e diff --git a/templates/single-device/extract-files.sh b/templates/single-device/extract-files.sh index 075a70b..6c27121 100755 --- a/templates/single-device/extract-files.sh +++ b/templates/single-device/extract-files.sh @@ -3,17 +3,7 @@ # Copyright (C) 2016 The CyanogenMod Project # Copyright (C) 2017-2020 The LineageOS Project # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 # set -e diff --git a/templates/single-device/setup-makefiles.sh b/templates/single-device/setup-makefiles.sh index 0253580..671b408 100755 --- a/templates/single-device/setup-makefiles.sh +++ b/templates/single-device/setup-makefiles.sh @@ -3,17 +3,7 @@ # Copyright (C) 2016 The CyanogenMod Project # Copyright (C) 2017-2020 The LineageOS Project # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 # set -e