From 5f576c3142257f3f8647029c72364411fcbe886b Mon Sep 17 00:00:00 2001 From: Dario Binacchi Date: Tue, 4 Jun 2024 22:25:18 +0200 Subject: [PATCH] configs/beaglebone_qt5_defconfig: add hashes for Linux/headers/U-Boot The patch adds .hash files for Linux, Linux headers and U-Boot and then enables BR2_DOWNLOAD_FORCE_CHECK_HASHES. With this, we can now drop the defconfig from .checkpackageignore. Signed-off-by: Dario Binacchi Signed-off-by: Arnout Vandecappelle --- .checkpackageignore | 1 - board/beaglebone/patches/linux-headers/linux-headers.hash | 1 + board/beaglebone/patches/linux/linux.hash | 2 ++ board/beaglebone/patches/uboot/uboot.hash | 2 ++ configs/beaglebone_qt5_defconfig | 1 + 5 files changed, 6 insertions(+), 1 deletion(-) create mode 120000 board/beaglebone/patches/linux-headers/linux-headers.hash create mode 100644 board/beaglebone/patches/linux/linux.hash create mode 100644 board/beaglebone/patches/uboot/uboot.hash diff --git a/.checkpackageignore b/.checkpackageignore index 8825d644ab..7de60f6946 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -145,7 +145,6 @@ configs/bananapi_m2_zero_defconfig lib_defconfig.ForceCheckHash 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/beaglev_defconfig lib_defconfig.ForceCheckHash configs/beelink_gs1_defconfig lib_defconfig.ForceCheckHash configs/broadcom_northstar_defconfig lib_defconfig.ForceCheckHash diff --git a/board/beaglebone/patches/linux-headers/linux-headers.hash b/board/beaglebone/patches/linux-headers/linux-headers.hash new file mode 120000 index 0000000000..5808d92afe --- /dev/null +++ b/board/beaglebone/patches/linux-headers/linux-headers.hash @@ -0,0 +1 @@ +../linux/linux.hash \ No newline at end of file diff --git a/board/beaglebone/patches/linux/linux.hash b/board/beaglebone/patches/linux/linux.hash new file mode 100644 index 0000000000..72d5bfff98 --- /dev/null +++ b/board/beaglebone/patches/linux/linux.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 394523e61eabf24bf920981ba967799ff90b6099a72dc1d1b92c918433439f61 linux-4.19.94-ti-r72.tar.gz diff --git a/board/beaglebone/patches/uboot/uboot.hash b/board/beaglebone/patches/uboot/uboot.hash new file mode 100644 index 0000000000..4b82872f31 --- /dev/null +++ b/board/beaglebone/patches/uboot/uboot.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 0d438b1bb5cceb57a18ea2de4a0d51f7be5b05b98717df05938636e0aadfe11a u-boot-2021.04.tar.bz2 diff --git a/configs/beaglebone_qt5_defconfig b/configs/beaglebone_qt5_defconfig index b83ef54fa8..ae46fff228 100644 --- a/configs/beaglebone_qt5_defconfig +++ b/configs/beaglebone_qt5_defconfig @@ -4,6 +4,7 @@ BR2_GLOBAL_PATCH_DIR="board/beaglebone/patches" BR2_TOOLCHAIN_BUILDROOT_GLIBC=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y BR2_TOOLCHAIN_BUILDROOT_CXX=y +BR2_DOWNLOAD_FORCE_CHECK_HASHES=y BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y BR2_ROOTFS_OVERLAY="board/beaglebone/rootfs_overlay" BR2_ROOTFS_POST_BUILD_SCRIPT="board/beaglebone/post-build.sh"