From 53911500e41db62002732bee0c583ccccb6c614c Mon Sep 17 00:00:00 2001 From: Dario Binacchi Date: Sat, 20 Jul 2024 22:16:58 +0200 Subject: [PATCH] configs/beaglebone_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: Thomas Petazzoni --- .checkpackageignore | 1 - .../beaglebone/patches/linux-headers/linux-headers.hash | 1 + board/beagleboard/beaglebone/patches/linux/linux.hash | 2 ++ board/beagleboard/beaglebone/patches/uboot/uboot.hash | 2 ++ configs/beaglebone_defconfig | 2 ++ 5 files changed, 7 insertions(+), 1 deletion(-) create mode 120000 board/beagleboard/beaglebone/patches/linux-headers/linux-headers.hash create mode 100644 board/beagleboard/beaglebone/patches/linux/linux.hash create mode 100644 board/beagleboard/beaglebone/patches/uboot/uboot.hash diff --git a/.checkpackageignore b/.checkpackageignore index b488a05902..028b63b4d3 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -140,7 +140,6 @@ configs/bananapi_m2_berry_defconfig lib_defconfig.ForceCheckHash configs/bananapi_m2_ultra_defconfig lib_defconfig.ForceCheckHash configs/bananapi_m2_zero_defconfig lib_defconfig.ForceCheckHash configs/bananapro_defconfig lib_defconfig.ForceCheckHash -configs/beaglebone_defconfig lib_defconfig.ForceCheckHash configs/beelink_gs1_defconfig lib_defconfig.ForceCheckHash configs/broadcom_northstar_defconfig lib_defconfig.ForceCheckHash configs/canaan_kd233_defconfig lib_defconfig.ForceCheckHash diff --git a/board/beagleboard/beaglebone/patches/linux-headers/linux-headers.hash b/board/beagleboard/beaglebone/patches/linux-headers/linux-headers.hash new file mode 120000 index 0000000000..5808d92afe --- /dev/null +++ b/board/beagleboard/beaglebone/patches/linux-headers/linux-headers.hash @@ -0,0 +1 @@ +../linux/linux.hash \ No newline at end of file diff --git a/board/beagleboard/beaglebone/patches/linux/linux.hash b/board/beagleboard/beaglebone/patches/linux/linux.hash new file mode 100644 index 0000000000..ce0613ad44 --- /dev/null +++ b/board/beagleboard/beaglebone/patches/linux/linux.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 6b73d8dca21000030acd2e37aed43f23de2fdd2850a2808722658241df48e671 linux-6.1.80-ti-r34.tar.gz diff --git a/board/beagleboard/beaglebone/patches/uboot/uboot.hash b/board/beagleboard/beaglebone/patches/uboot/uboot.hash new file mode 100644 index 0000000000..bc999536af --- /dev/null +++ b/board/beagleboard/beaglebone/patches/uboot/uboot.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 b99611f1ed237bf3541bdc8434b68c96a6e05967061f992443cb30aabebef5b3 u-boot-2024.01.tar.bz2 diff --git a/configs/beaglebone_defconfig b/configs/beaglebone_defconfig index b1a0c7cda4..28f3c20c00 100644 --- a/configs/beaglebone_defconfig +++ b/configs/beaglebone_defconfig @@ -7,6 +7,8 @@ BR2_ARM_FPU_VFPV3=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y # System +BR2_GLOBAL_PATCH_DIR="board/beagleboard/beaglebone/patches" +BR2_DOWNLOAD_FORCE_CHECK_HASHES=y BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y # Image