diff mbox series

configs/mx6cubox: add hashes

Message ID 20240602132109.937712-1-francois.perrad@gadz.org
State Accepted
Headers show
Series configs/mx6cubox: add hashes | expand

Commit Message

Francois Perrad June 2, 2024, 1:21 p.m. UTC
and enable BR2_DOWNLOAD_FORCE_CHECK_HASHES

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 .checkpackageignore                                         | 1 -
 .../mx6cubox/patches/linux-headers/linux-headers.hash       | 1 +
 board/solidrun/mx6cubox/patches/linux/linux.hash            | 2 ++
 board/solidrun/mx6cubox/patches/uboot/uboot.hash            | 2 ++
 configs/mx6cubox_defconfig                                  | 6 +++++-
 5 files changed, 10 insertions(+), 2 deletions(-)
 create mode 120000 board/solidrun/mx6cubox/patches/linux-headers/linux-headers.hash
 create mode 100644 board/solidrun/mx6cubox/patches/linux/linux.hash
 create mode 100644 board/solidrun/mx6cubox/patches/uboot/uboot.hash

Comments

Peter Korsgaard June 4, 2024, 1:19 p.m. UTC | #1
>>>>> "Francois" == Francois Perrad <francois.perrad@gadz.org> writes:

 > and enable BR2_DOWNLOAD_FORCE_CHECK_HASHES
 > Signed-off-by: Francois Perrad <francois.perrad@gadz.org>

Committed, thanks.
diff mbox series

Patch

diff --git a/.checkpackageignore b/.checkpackageignore
index bee31d240..f432efcc9 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore
@@ -230,7 +230,6 @@  configs/microchip_sama7g5ek_mmc_dev_defconfig lib_defconfig.ForceCheckHash
 configs/minnowboard_max_defconfig lib_defconfig.ForceCheckHash
 configs/mx25pdk_defconfig lib_defconfig.ForceCheckHash
 configs/mx53loco_defconfig lib_defconfig.ForceCheckHash
-configs/mx6cubox_defconfig lib_defconfig.ForceCheckHash
 configs/mx6sx_udoo_neo_defconfig lib_defconfig.ForceCheckHash
 configs/mx6udoo_defconfig lib_defconfig.ForceCheckHash
 configs/nexbox_a95x_defconfig lib_defconfig.ForceCheckHash
diff --git a/board/solidrun/mx6cubox/patches/linux-headers/linux-headers.hash b/board/solidrun/mx6cubox/patches/linux-headers/linux-headers.hash
new file mode 120000
index 000000000..5808d92af
--- /dev/null
+++ b/board/solidrun/mx6cubox/patches/linux-headers/linux-headers.hash
@@ -0,0 +1 @@ 
+../linux/linux.hash
\ No newline at end of file
diff --git a/board/solidrun/mx6cubox/patches/linux/linux.hash b/board/solidrun/mx6cubox/patches/linux/linux.hash
new file mode 100644
index 000000000..8b8381e61
--- /dev/null
+++ b/board/solidrun/mx6cubox/patches/linux/linux.hash
@@ -0,0 +1,2 @@ 
+# Locally computed
+sha256  639e50060e3c8f23ed017cb10cfeacc6ba88ff5583812bb76859b4cc6a128291  linux-6.6.27.tar.xz
diff --git a/board/solidrun/mx6cubox/patches/uboot/uboot.hash b/board/solidrun/mx6cubox/patches/uboot/uboot.hash
new file mode 100644
index 000000000..c1aeddf06
--- /dev/null
+++ b/board/solidrun/mx6cubox/patches/uboot/uboot.hash
@@ -0,0 +1,2 @@ 
+# Locally computed
+sha256  18a853fe39fad7ad03a90cc2d4275aeaed6da69735defac3492b80508843dd4a  u-boot-2024.04.tar.bz2
diff --git a/configs/mx6cubox_defconfig b/configs/mx6cubox_defconfig
index 46a1400d9..bd94f3fc8 100644
--- a/configs/mx6cubox_defconfig
+++ b/configs/mx6cubox_defconfig
@@ -9,6 +9,10 @@  BR2_ARM_FPU_VFPV3=y
 # Linux headers same as kernel, a 6.6 series
 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y
 
+# Build
+BR2_GLOBAL_PATCH_DIR="board/solidrun/mx6cubox/patches"
+BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
+
 # System configuration
 BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
 BR2_ROOTFS_OVERLAY="board/solidrun/mx6cubox/rootfs_overlay"
@@ -36,10 +40,10 @@  BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.04"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="mx6cuboxi"
 BR2_TARGET_UBOOT_NEEDS_PYTHON3=y
 BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
+BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
 BR2_TARGET_UBOOT_FORMAT_IMG=y
 BR2_TARGET_UBOOT_SPL=y
 BR2_TARGET_UBOOT_SPL_NAME="SPL"
-BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
 
 # required tools to create the SD card image
 BR2_PACKAGE_HOST_DOSFSTOOLS=y