diff mbox series

[v2] configs/amarula_vyasa_rk3288_defconfig: add uboot, linux, linux-headers hashes

Message ID 20240525140641.1374683-1-giulio.benetti@benettiengineering.com
State Accepted
Headers show
Series [v2] configs/amarula_vyasa_rk3288_defconfig: add uboot, linux, linux-headers hashes | expand

Commit Message

Giulio Benetti May 25, 2024, 2:06 p.m. UTC
Add global patch directory pointing to board specific .hash files
for uboot, linux, linux-headers and add BR2_DOWNLOAD_FORCE_CHECK_HASHES.
This way we can drop this defconfig entry in .checkpackageignore.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
 .checkpackageignore                                          | 1 -
 board/amarula/vyasa/patches/linux-headers/linux-headers.hash | 1 +
 board/amarula/vyasa/patches/linux/linux.hash                 | 2 ++
 board/amarula/vyasa/patches/uboot/uboot.hash                 | 2 ++
 configs/amarula_vyasa_rk3288_defconfig                       | 2 ++
 5 files changed, 7 insertions(+), 1 deletion(-)
 create mode 120000 board/amarula/vyasa/patches/linux-headers/linux-headers.hash
 create mode 100644 board/amarula/vyasa/patches/linux/linux.hash
 create mode 100644 board/amarula/vyasa/patches/uboot/uboot.hash

Comments

Peter Korsgaard May 25, 2024, 7:41 p.m. UTC | #1
>>>>> "Giulio" == Giulio Benetti <giulio.benetti@benettiengineering.com> writes:

 > Add global patch directory pointing to board specific .hash files
 > for uboot, linux, linux-headers and add BR2_DOWNLOAD_FORCE_CHECK_HASHES.
 > This way we can drop this defconfig entry in .checkpackageignore.

 > Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>

Committed, thanks.
diff mbox series

Patch

diff --git a/.checkpackageignore b/.checkpackageignore
index ebf320c3c5..9b9e4a61f9 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore
@@ -122,7 +122,6 @@  configs/acmesystems_aria_g25_256mb_defconfig lib_defconfig.ForceCheckHash
 configs/acmesystems_arietta_g25_128mb_defconfig lib_defconfig.ForceCheckHash
 configs/acmesystems_arietta_g25_256mb_defconfig lib_defconfig.ForceCheckHash
 configs/am574x_idk_defconfig lib_defconfig.ForceCheckHash
-configs/amarula_vyasa_rk3288_defconfig lib_defconfig.ForceCheckHash
 configs/andes_ae350_45_defconfig lib_defconfig.ForceCheckHash
 configs/arcturus_ucls1012a_defconfig lib_defconfig.ForceCheckHash
 configs/arcturus_ucp1020_defconfig lib_defconfig.ForceCheckHash
diff --git a/board/amarula/vyasa/patches/linux-headers/linux-headers.hash b/board/amarula/vyasa/patches/linux-headers/linux-headers.hash
new file mode 120000
index 0000000000..5808d92afe
--- /dev/null
+++ b/board/amarula/vyasa/patches/linux-headers/linux-headers.hash
@@ -0,0 +1 @@ 
+../linux/linux.hash
\ No newline at end of file
diff --git a/board/amarula/vyasa/patches/linux/linux.hash b/board/amarula/vyasa/patches/linux/linux.hash
new file mode 100644
index 0000000000..b763fc947a
--- /dev/null
+++ b/board/amarula/vyasa/patches/linux/linux.hash
@@ -0,0 +1,2 @@ 
+# Locally calculated
+sha256  880ace63ca2291b8b639e9bd862cc828649d3e1e00ccfee5861473debd2e4dec  linux-6.1.91.tar.xz
diff --git a/board/amarula/vyasa/patches/uboot/uboot.hash b/board/amarula/vyasa/patches/uboot/uboot.hash
new file mode 100644
index 0000000000..5e017f5499
--- /dev/null
+++ b/board/amarula/vyasa/patches/uboot/uboot.hash
@@ -0,0 +1,2 @@ 
+# Locally calculated
+sha256  50b4482a505bc281ba8470c399a3c26e145e29b23500bc35c50debd7fa46bdf8  u-boot-2022.10.tar.bz2
diff --git a/configs/amarula_vyasa_rk3288_defconfig b/configs/amarula_vyasa_rk3288_defconfig
index 0dd47f498f..2267d49afc 100644
--- a/configs/amarula_vyasa_rk3288_defconfig
+++ b/configs/amarula_vyasa_rk3288_defconfig
@@ -5,6 +5,8 @@  BR2_ARM_FPU_NEON_VFPV4=y
 
 # Linux headers same as kernel, a 6.1 series
 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y
+BR2_GLOBAL_PATCH_DIR="board/amarula/vyasa/patches"
+BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
 
 # Bootloader
 BR2_TARGET_UBOOT=y