From 7a088c80e86cafc3bc10976f60ca3b24f5acd8f3 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Tue, 14 May 2024 21:50:19 +0200 Subject: [PATCH] configs/openblocks_a6_defconfig: add hashes for Linux / headers And enable BR2_DOWNLOAD_FORCE_CHECK_HASHES. Generated by utils/add-custom-hashes, with the (redundant) linux-headers.hash replaced by a symlink. Signed-off-by: Peter Korsgaard [yann.morin.1998@free.fr: update .checkpackageignore] Signed-off-by: Yann E. MORIN --- .checkpackageignore | 1 - board/openblocks/a6/patches/linux-headers/linux-headers.hash | 1 + board/openblocks/a6/patches/linux/linux.hash | 2 ++ configs/openblocks_a6_defconfig | 2 ++ 4 files changed, 5 insertions(+), 1 deletion(-) create mode 120000 board/openblocks/a6/patches/linux-headers/linux-headers.hash create mode 100644 board/openblocks/a6/patches/linux/linux.hash diff --git a/.checkpackageignore b/.checkpackageignore index 7057f91925..070b97116a 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -265,7 +265,6 @@ configs/olimex_a64_olinuxino_defconfig lib_defconfig.ForceCheckHash configs/olimex_stmp157_olinuxino_lime_defconfig lib_defconfig.ForceCheckHash configs/olpc_xo175_defconfig lib_defconfig.ForceCheckHash configs/olpc_xo1_defconfig lib_defconfig.ForceCheckHash -configs/openblocks_a6_defconfig lib_defconfig.ForceCheckHash configs/orangepi_lite2_defconfig lib_defconfig.ForceCheckHash configs/orangepi_lite_defconfig lib_defconfig.ForceCheckHash configs/orangepi_one_defconfig lib_defconfig.ForceCheckHash diff --git a/board/openblocks/a6/patches/linux-headers/linux-headers.hash b/board/openblocks/a6/patches/linux-headers/linux-headers.hash new file mode 120000 index 0000000000..5808d92afe --- /dev/null +++ b/board/openblocks/a6/patches/linux-headers/linux-headers.hash @@ -0,0 +1 @@ +../linux/linux.hash \ No newline at end of file diff --git a/board/openblocks/a6/patches/linux/linux.hash b/board/openblocks/a6/patches/linux/linux.hash new file mode 100644 index 0000000000..b207306a2b --- /dev/null +++ b/board/openblocks/a6/patches/linux/linux.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 0820fdb7971c6974338081c11fbf2dc869870501e7bdcac4d0ed58ba1f57b61c linux-4.14.336.tar.xz diff --git a/configs/openblocks_a6_defconfig b/configs/openblocks_a6_defconfig index 69b75f5043..6a816597ac 100644 --- a/configs/openblocks_a6_defconfig +++ b/configs/openblocks_a6_defconfig @@ -3,6 +3,8 @@ BR2_arm=y BR2_arm926t=y # system +BR2_GLOBAL_PATCH_DIR="board/openblocks/a6/patches" +BR2_DOWNLOAD_FORCE_CHECK_HASHES=y BR2_TARGET_GENERIC_HOSTNAME="openblocks-a6" BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" BR2_SYSTEM_DHCP="eth0"