From 84c0cb6e9dbc8b3ce11c4482c50f07497f4cd45d Mon Sep 17 00:00:00 2001 From: Michael Walle Date: Wed, 29 Apr 2026 11:23:39 +0200 Subject: [PATCH] configs/kontron_smarc_sal28: enable FORCE_CHECK_HASHES Enable the FORCE_CHECK_HASHES and the corresponding custom hashes. This commit also removes the corresponding .checkpackageignore entry. Suggested-by: Julien Olivain Signed-off-by: Michael Walle [Julien: - remove .checkpackageinore entry to fix check-package error - remove unneeded linux-headers hash due to bootlin toolchain usage ] Signed-off-by: Julien Olivain --- .checkpackageignore | 1 - board/kontron/smarc-sal28/patches/linux/linux.hash | 2 ++ board/kontron/smarc-sal28/patches/uboot/uboot.hash | 2 ++ configs/kontron_smarc_sal28_defconfig | 3 ++- 4 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 board/kontron/smarc-sal28/patches/linux/linux.hash create mode 100644 board/kontron/smarc-sal28/patches/uboot/uboot.hash diff --git a/.checkpackageignore b/.checkpackageignore index 100dcd3da4..db6e8b883a 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -105,7 +105,6 @@ configs/imx6ulpico_defconfig lib_defconfig.ForceCheckHash configs/imx7dpico_defconfig lib_defconfig.ForceCheckHash configs/imx8mqevk_defconfig lib_defconfig.ForceCheckHash configs/kontron_bl_imx8mm_defconfig lib_defconfig.ForceCheckHash -configs/kontron_smarc_sal28_defconfig lib_defconfig.ForceCheckHash configs/mender_x86_64_efi_defconfig lib_defconfig.ForceCheckHash configs/microchip_sam9x60ek_mmc_defconfig lib_defconfig.ForceCheckHash configs/microchip_sam9x60ek_mmc_dev_defconfig lib_defconfig.ForceCheckHash diff --git a/board/kontron/smarc-sal28/patches/linux/linux.hash b/board/kontron/smarc-sal28/patches/linux/linux.hash new file mode 100644 index 0000000000..a4cc7bd3f6 --- /dev/null +++ b/board/kontron/smarc-sal28/patches/linux/linux.hash @@ -0,0 +1,2 @@ +# From https://cdn.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc +sha256 9106a4605da9e31ff17659d958782b815f9591ab308d03b0ee21aad6c7dced4b linux-6.18.tar.xz diff --git a/board/kontron/smarc-sal28/patches/uboot/uboot.hash b/board/kontron/smarc-sal28/patches/uboot/uboot.hash new file mode 100644 index 0000000000..36322a6a90 --- /dev/null +++ b/board/kontron/smarc-sal28/patches/uboot/uboot.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 ac7c04b8b7004923b00a4e5d6699c5df4d21233bac9fda690d8cfbc209fff2fd u-boot-2026.04.tar.bz2 diff --git a/configs/kontron_smarc_sal28_defconfig b/configs/kontron_smarc_sal28_defconfig index 09d3142589..b1e175b7b2 100644 --- a/configs/kontron_smarc_sal28_defconfig +++ b/configs/kontron_smarc_sal28_defconfig @@ -1,9 +1,10 @@ BR2_aarch64=y BR2_cortex_a72=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_18=y BR2_TOOLCHAIN_EXTERNAL=y BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_STABLE=y +BR2_GLOBAL_PATCH_DIR="board/kontron/smarc-sal28/patches" +BR2_DOWNLOAD_FORCE_CHECK_HASHES=y BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y BR2_ROOTFS_OVERLAY="board/kontron/smarc-sal28/rootfs_overlay" BR2_ROOTFS_POST_BUILD_SCRIPT="board/kontron/smarc-sal28/post-build.sh"