From e78a710e8fefaf722d45d8031e542be5c5718e0e Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Sun, 15 Feb 2026 11:53:55 +0100 Subject: [PATCH] configs/openblocks_a6: specify Linux license file 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 [Julien: - reword commit title - actually add BR2_LINUX_KERNEL_LICENSE_FILES in defconfig ] Signed-off-by: Julien Olivain --- board/openblocks/a6/patches/linux/linux.hash | 1 + configs/openblocks_a6_defconfig | 1 + 2 files changed, 2 insertions(+) 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 diff --git a/configs/openblocks_a6_defconfig b/configs/openblocks_a6_defconfig index 754ec53937..e0ce4aa3fb 100644 --- a/configs/openblocks_a6_defconfig +++ b/configs/openblocks_a6_defconfig @@ -8,6 +8,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"