diff mbox series

[2/3] sheevaplug_defconfig: specify Linux license file

Message ID 20260215105358.2089856-2-peter@korsgaard.com
State Accepted
Delegated to: Julien Olivain
Headers show
Series [1/3] linux: make license option visible for _CUSTOM_VERSION as well | expand

Commit Message

Peter Korsgaard Feb. 15, 2026, 10:53 a.m. UTC
The used Linux kernel (4.14.336) does not contain the default license files
as those were only added in 4.16 with commit e00a844aca ("LICENSES: Add
Linux syscall note exception"), so specify the correct license file to fix:

make legal-info
..
cp: cannot stat '/path/to/output/build/linux-headers-4.14.336/LICENSES/preferred/GPL-2.0': No such file or directory

And add the sha256sum to the .hash file.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 board/sheevaplug/patches/linux/linux.hash | 1 +
 configs/sheevaplug_defconfig              | 1 +
 2 files changed, 2 insertions(+)

Comments

Thomas Perale Feb. 26, 2026, 8:47 p.m. UTC | #1
In reply of:
> The used Linux kernel (4.14.336) does not contain the default license files
> as those were only added in 4.16 with commit e00a844aca ("LICENSES: Add
> Linux syscall note exception"), so specify the correct license file to fix:
> 
> make legal-info
> ..
> cp: cannot stat '/path/to/output/build/linux-headers-4.14.336/LICENSES/preferred/GPL-2.0': No such file or directory
> 
> And add the sha256sum to the .hash file.
> 
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

Applied to 2025.02.x & 2025.11.x. Thanks

> ---
>  board/sheevaplug/patches/linux/linux.hash | 1 +
>  configs/sheevaplug_defconfig              | 1 +
>  2 files changed, 2 insertions(+)
> 
> diff --git a/board/sheevaplug/patches/linux/linux.hash b/board/sheevaplug/patches/linux/linux.hash
> index b207306a2b..aa432012b0 100644
> --- a/board/sheevaplug/patches/linux/linux.hash
> +++ b/board/sheevaplug/patches/linux/linux.hash
> @@ -1,2 +1,3 @@
>  # Locally calculated
>  sha256  0820fdb7971c6974338081c11fbf2dc869870501e7bdcac4d0ed58ba1f57b61c  linux-4.14.336.tar.xz
> +sha256  af8067302947c01fd9eee72befa54c7e3ef8a48fecde7fd71277f2290b2bf0f7  COPYING
> diff --git a/configs/sheevaplug_defconfig b/configs/sheevaplug_defconfig
> index 855efedafa..a6a324213c 100644
> --- a/configs/sheevaplug_defconfig
> +++ b/configs/sheevaplug_defconfig
> @@ -7,6 +7,7 @@ BR2_SYSTEM_DHCP="eth0"
>  BR2_LINUX_KERNEL=y
>  BR2_LINUX_KERNEL_CUSTOM_VERSION=y
>  BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14.336"
> +BR2_LINUX_KERNEL_LICENSE_FILES="COPYING"
>  BR2_LINUX_KERNEL_DEFCONFIG="mvebu_v5"
>  BR2_LINUX_KERNEL_APPENDED_UIMAGE=y
>  BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000"
> -- 
> 2.47.3
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
diff mbox series

Patch

diff --git a/board/sheevaplug/patches/linux/linux.hash b/board/sheevaplug/patches/linux/linux.hash
index b207306a2b..aa432012b0 100644
--- a/board/sheevaplug/patches/linux/linux.hash
+++ b/board/sheevaplug/patches/linux/linux.hash
@@ -1,2 +1,3 @@ 
 # Locally calculated
 sha256  0820fdb7971c6974338081c11fbf2dc869870501e7bdcac4d0ed58ba1f57b61c  linux-4.14.336.tar.xz
+sha256  af8067302947c01fd9eee72befa54c7e3ef8a48fecde7fd71277f2290b2bf0f7  COPYING
diff --git a/configs/sheevaplug_defconfig b/configs/sheevaplug_defconfig
index 855efedafa..a6a324213c 100644
--- a/configs/sheevaplug_defconfig
+++ b/configs/sheevaplug_defconfig
@@ -7,6 +7,7 @@  BR2_SYSTEM_DHCP="eth0"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14.336"
+BR2_LINUX_KERNEL_LICENSE_FILES="COPYING"
 BR2_LINUX_KERNEL_DEFCONFIG="mvebu_v5"
 BR2_LINUX_KERNEL_APPENDED_UIMAGE=y
 BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000"