diff mbox series

[3/3] openblocks_a6_defconfig: specify Linux license file

Message ID 20260215105358.2089856-3-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/openblocks/a6/patches/linux/linux.hash | 1 +
 1 file changed, 1 insertion(+)

Comments

Edgar Bonet Feb. 15, 2026, 4:11 p.m. UTC | #1
Hello!

On 2026-02-15, Peter Korsgaard wrote:
> 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:

Note that there are three other defconfigs with kernels older than 4.16:

  * s6lx9_microboard_defconfig (4.4.7)
  * ts4900_defconfig (4.12)
  * ts5500_defconfig (4.14)

Regards,

Edgar Bonet.
Peter Korsgaard Feb. 15, 2026, 10 p.m. UTC | #2
>>>>> "Edgar" == Edgar Bonet <bonet@grenoble.cnrs.fr> writes:

 > Hello!
 > On 2026-02-15, Peter Korsgaard wrote:
 >> 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:

 > Note that there are three other defconfigs with kernels older than 4.16:

 >   * s6lx9_microboard_defconfig (4.4.7)
 >   * ts4900_defconfig (4.12)
 >   * ts5500_defconfig (4.14)

True. I wonder if those defconfigs are still useful, given that they
haven't been updated in a very long time:

- s6lx9_microboard_defconfig: When it was added in 2012.05
- ts4900_defconfig: 2017.11, no DEVELOPERS entry
- ts5500_defconfig: 2018.05
Thomas Perale Feb. 26, 2026, 8:47 p.m. UTC | #3
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/openblocks/a6/patches/linux/linux.hash | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/board/openblocks/a6/patches/linux/linux.hash b/board/openblocks/a6/patches/linux/linux.hash
> index b207306a2b..aa432012b0 100644
> --- a/board/openblocks/a6/patches/linux/linux.hash
> +++ b/board/openblocks/a6/patches/linux/linux.hash
> @@ -1,2 +1,3 @@
>  # Locally calculated
>  sha256  0820fdb7971c6974338081c11fbf2dc869870501e7bdcac4d0ed58ba1f57b61c  linux-4.14.336.tar.xz
> +sha256  af8067302947c01fd9eee72befa54c7e3ef8a48fecde7fd71277f2290b2bf0f7  COPYING
> -- 
> 2.47.3
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
diff mbox series

Patch

diff --git a/board/openblocks/a6/patches/linux/linux.hash b/board/openblocks/a6/patches/linux/linux.hash
index b207306a2b..aa432012b0 100644
--- a/board/openblocks/a6/patches/linux/linux.hash
+++ b/board/openblocks/a6/patches/linux/linux.hash
@@ -1,2 +1,3 @@ 
 # Locally calculated
 sha256  0820fdb7971c6974338081c11fbf2dc869870501e7bdcac4d0ed58ba1f57b61c  linux-4.14.336.tar.xz
+sha256  af8067302947c01fd9eee72befa54c7e3ef8a48fecde7fd71277f2290b2bf0f7  COPYING