From bbfee1d9b594182e03d0ccff3e463096b28428df Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Tue, 21 May 2024 08:40:45 +0200 Subject: [PATCH] configs/beagleboneai_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: Peter Korsgaard Signed-off-by: Romain Naour --- .checkpackageignore | 1 - board/beagleboneai/patches/linux-headers/linux-headers.hash | 1 + board/beagleboneai/patches/linux/linux.hash | 2 ++ board/beagleboneai/patches/uboot/uboot.hash | 2 ++ configs/beagleboneai_defconfig | 1 + 5 files changed, 6 insertions(+), 1 deletion(-) create mode 120000 board/beagleboneai/patches/linux-headers/linux-headers.hash create mode 100644 board/beagleboneai/patches/linux/linux.hash create mode 100644 board/beagleboneai/patches/uboot/uboot.hash diff --git a/.checkpackageignore b/.checkpackageignore index 070b97116a..0ddf9effda 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -160,7 +160,6 @@ configs/bananapro_defconfig lib_defconfig.ForceCheckHash configs/beagleboardx15_defconfig lib_defconfig.ForceCheckHash configs/beaglebone_defconfig lib_defconfig.ForceCheckHash configs/beaglebone_qt5_defconfig lib_defconfig.ForceCheckHash -configs/beagleboneai_defconfig lib_defconfig.ForceCheckHash configs/beaglev_defconfig lib_defconfig.ForceCheckHash configs/beelink_gs1_defconfig lib_defconfig.ForceCheckHash configs/broadcom_northstar_defconfig lib_defconfig.ForceCheckHash diff --git a/board/beagleboneai/patches/linux-headers/linux-headers.hash b/board/beagleboneai/patches/linux-headers/linux-headers.hash new file mode 120000 index 0000000000..5808d92afe --- /dev/null +++ b/board/beagleboneai/patches/linux-headers/linux-headers.hash @@ -0,0 +1 @@ +../linux/linux.hash \ No newline at end of file diff --git a/board/beagleboneai/patches/linux/linux.hash b/board/beagleboneai/patches/linux/linux.hash new file mode 100644 index 0000000000..ec1a3601b7 --- /dev/null +++ b/board/beagleboneai/patches/linux/linux.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 c52bc1ffc396c11bce335c9ee5cd55fe4213cbc1fb4026ff62bb90c864c61f62 linux-5.10.217.tar.xz diff --git a/board/beagleboneai/patches/uboot/uboot.hash b/board/beagleboneai/patches/uboot/uboot.hash new file mode 100644 index 0000000000..4b82872f31 --- /dev/null +++ b/board/beagleboneai/patches/uboot/uboot.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 0d438b1bb5cceb57a18ea2de4a0d51f7be5b05b98717df05938636e0aadfe11a u-boot-2021.04.tar.bz2 diff --git a/configs/beagleboneai_defconfig b/configs/beagleboneai_defconfig index 1373ba662e..a002869984 100644 --- a/configs/beagleboneai_defconfig +++ b/configs/beagleboneai_defconfig @@ -1,6 +1,7 @@ BR2_arm=y BR2_cortex_a15=y BR2_GLOBAL_PATCH_DIR="board/beagleboneai/patches" +BR2_DOWNLOAD_FORCE_CHECK_HASHES=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y BR2_SYSTEM_DHCP="eth0" BR2_ROOTFS_POST_BUILD_SCRIPT="board/beagleboneai/post-build.sh"