From 14bb97ff9d23359ffa0dd9078f0efb94f1f6a8c2 Mon Sep 17 00:00:00 2001 From: Dario Binacchi Date: Wed, 29 May 2024 20:38:42 +0200 Subject: [PATCH] configs/lego_ev3_defconfig: add hashes for Linux/headers/u-boot And enable BR2_DOWNLOAD_FORCE_CHECK_HASHES. With this, we can now drop the defconfig from .checkpackageignore. Signed-off-by: Dario Binacchi Acked-by: David Lechner Signed-off-by: Peter Korsgaard --- .checkpackageignore | 1 - board/lego/ev3/patches/linux-headers/linux-headers.hash | 1 + board/lego/ev3/patches/linux/linux.hash | 2 ++ board/lego/ev3/patches/uboot/uboot.hash | 2 ++ configs/lego_ev3_defconfig | 2 ++ 5 files changed, 7 insertions(+), 1 deletion(-) create mode 120000 board/lego/ev3/patches/linux-headers/linux-headers.hash create mode 100644 board/lego/ev3/patches/linux/linux.hash create mode 100644 board/lego/ev3/patches/uboot/uboot.hash diff --git a/.checkpackageignore b/.checkpackageignore index f6d54361bc..bb27977d8c 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -218,7 +218,6 @@ configs/khadas_vim3_defconfig lib_defconfig.ForceCheckHash configs/kontron_bl_imx8mm_defconfig lib_defconfig.ForceCheckHash configs/kontron_pitx_imx8m_defconfig lib_defconfig.ForceCheckHash configs/kontron_smarc_sal28_defconfig lib_defconfig.ForceCheckHash -configs/lego_ev3_defconfig lib_defconfig.ForceCheckHash configs/linksprite_pcduino_defconfig lib_defconfig.ForceCheckHash configs/ls1028ardb_defconfig lib_defconfig.ForceCheckHash configs/ls1046a-frwy_defconfig lib_defconfig.ForceCheckHash diff --git a/board/lego/ev3/patches/linux-headers/linux-headers.hash b/board/lego/ev3/patches/linux-headers/linux-headers.hash new file mode 120000 index 0000000000..5808d92afe --- /dev/null +++ b/board/lego/ev3/patches/linux-headers/linux-headers.hash @@ -0,0 +1 @@ +../linux/linux.hash \ No newline at end of file diff --git a/board/lego/ev3/patches/linux/linux.hash b/board/lego/ev3/patches/linux/linux.hash new file mode 100644 index 0000000000..81824a41ee --- /dev/null +++ b/board/lego/ev3/patches/linux/linux.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 6c5e4d3c87feadbfdb9f7d2e46f3f120b00286ba380491c5956708e0b94232c8 linux-4.19.315.tar.xz diff --git a/board/lego/ev3/patches/uboot/uboot.hash b/board/lego/ev3/patches/uboot/uboot.hash new file mode 100644 index 0000000000..c53d9ecc5c --- /dev/null +++ b/board/lego/ev3/patches/uboot/uboot.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 312b7eeae44581d1362c3a3f02c28d806647756c82ba8c72241c7cdbe68ba77e u-boot-2021.07.tar.bz2 diff --git a/configs/lego_ev3_defconfig b/configs/lego_ev3_defconfig index 86b2aea656..df80bb3f10 100644 --- a/configs/lego_ev3_defconfig +++ b/configs/lego_ev3_defconfig @@ -5,6 +5,8 @@ BR2_arm926t=y # system BR2_TARGET_GENERIC_GETTY=y BR2_TARGET_GENERIC_GETTY_PORT="ttyS1" +BR2_DOWNLOAD_FORCE_CHECK_HASHES=y +BR2_GLOBAL_PATCH_DIR="board/lego/ev3/patches" BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y BR2_ROOTFS_POST_IMAGE_SCRIPT="board/lego/ev3/post-image.sh" # Linux headers same as kernel, a 4.19 series