diff mbox series

[1/2] configs/acmesystems_acqua_a5_*: add hashes for Linux/at91bootstrap3

Message ID 51910310-86f7-43cf-8288-43c48c6ccd90@grenoble.cnrs.fr
State Accepted
Headers show
Series [1/2] configs/acmesystems_acqua_a5_*: add hashes for Linux/at91bootstrap3 | expand

Commit Message

Edgar Bonet May 6, 2024, 3:22 p.m. UTC
And enable BR2_DOWNLOAD_FORCE_CHECK_HASHES.

Signed-off-by: Edgar Bonet <bonet@grenoble.cnrs.fr>
---
 .checkpackageignore                                             | 2 --
 .../acqua-a5/patches/at91bootstrap3/at91bootstrap3.hash         | 2 ++
 .../acqua-a5/patches/linux-headers/linux-headers.hash           | 1 +
 board/acmesystems/acqua-a5/patches/linux/linux.hash             | 2 ++
 configs/acmesystems_acqua_a5_256mb_defconfig                    | 2 ++
 configs/acmesystems_acqua_a5_512mb_defconfig                    | 2 ++
 6 files changed, 9 insertions(+), 2 deletions(-)
 create mode 100644 board/acmesystems/acqua-a5/patches/at91bootstrap3/at91bootstrap3.hash
 create mode 120000 board/acmesystems/acqua-a5/patches/linux-headers/linux-headers.hash
 create mode 100644 board/acmesystems/acqua-a5/patches/linux/linux.hash

Comments

Thomas Petazzoni May 6, 2024, 7:02 p.m. UTC | #1
On Mon, 6 May 2024 17:22:49 +0200
Edgar Bonet <bonet@grenoble.cnrs.fr> wrote:

> And enable BR2_DOWNLOAD_FORCE_CHECK_HASHES.
> 
> Signed-off-by: Edgar Bonet <bonet@grenoble.cnrs.fr>
> ---
>  .checkpackageignore                                             | 2 --
>  .../acqua-a5/patches/at91bootstrap3/at91bootstrap3.hash         | 2 ++
>  .../acqua-a5/patches/linux-headers/linux-headers.hash           | 1 +
>  board/acmesystems/acqua-a5/patches/linux/linux.hash             | 2 ++
>  configs/acmesystems_acqua_a5_256mb_defconfig                    | 2 ++
>  configs/acmesystems_acqua_a5_512mb_defconfig                    | 2 ++
>  6 files changed, 9 insertions(+), 2 deletions(-)
>  create mode 100644 board/acmesystems/acqua-a5/patches/at91bootstrap3/at91bootstrap3.hash
>  create mode 120000 board/acmesystems/acqua-a5/patches/linux-headers/linux-headers.hash
>  create mode 100644 board/acmesystems/acqua-a5/patches/linux/linux.hash

Both applied, thanks!

Thomas
Peter Korsgaard May 26, 2024, 7:56 p.m. UTC | #2
>>>>> "Edgar" == Edgar Bonet <bonet@grenoble.cnrs.fr> writes:

 > And enable BR2_DOWNLOAD_FORCE_CHECK_HASHES.
 > Signed-off-by: Edgar Bonet <bonet@grenoble.cnrs.fr>

Committed to 2024.02.x, thanks.
diff mbox series

Patch

diff --git a/.checkpackageignore b/.checkpackageignore
index 870c286bcd..1135fa7175 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore
@@ -117,8 +117,6 @@  boot/syslinux/0014-Fix-build-with-binutils-note-gnu-property-section.patch lib_p
 boot/syslinux/0016-Workaround-multiple-definition-of-symbol-errors.patch lib_patch.Upstream
 boot/syslinux/0017-Replace-builtin-strlen-that-appears-to-get-optimized.patch lib_patch.Upstream
 configs/aarch64_efi_defconfig lib_defconfig.ForceCheckHash
-configs/acmesystems_acqua_a5_256mb_defconfig lib_defconfig.ForceCheckHash
-configs/acmesystems_acqua_a5_512mb_defconfig lib_defconfig.ForceCheckHash
 configs/acmesystems_aria_g25_128mb_defconfig lib_defconfig.ForceCheckHash
 configs/acmesystems_aria_g25_256mb_defconfig lib_defconfig.ForceCheckHash
 configs/acmesystems_arietta_g25_128mb_defconfig lib_defconfig.ForceCheckHash
diff --git a/board/acmesystems/acqua-a5/patches/at91bootstrap3/at91bootstrap3.hash b/board/acmesystems/acqua-a5/patches/at91bootstrap3/at91bootstrap3.hash
new file mode 100644
index 0000000000..06a63d449d
--- /dev/null
+++ b/board/acmesystems/acqua-a5/patches/at91bootstrap3/at91bootstrap3.hash
@@ -0,0 +1,2 @@ 
+# Locally calculated
+sha256  cdc04cca9e811043efdea43ad203d70d897e23a8bd46f01896ba45c8df50f6ec  at91bootstrap3-v3.10.3-br1.tar.gz
diff --git a/board/acmesystems/acqua-a5/patches/linux-headers/linux-headers.hash b/board/acmesystems/acqua-a5/patches/linux-headers/linux-headers.hash
new file mode 120000
index 0000000000..5808d92afe
--- /dev/null
+++ b/board/acmesystems/acqua-a5/patches/linux-headers/linux-headers.hash
@@ -0,0 +1 @@ 
+../linux/linux.hash
\ No newline at end of file
diff --git a/board/acmesystems/acqua-a5/patches/linux/linux.hash b/board/acmesystems/acqua-a5/patches/linux/linux.hash
new file mode 100644
index 0000000000..6dbbeca57f
--- /dev/null
+++ b/board/acmesystems/acqua-a5/patches/linux/linux.hash
@@ -0,0 +1,2 @@ 
+# Locally calculated
+sha256  1fd7ec8c3d9c4e4b3a41d11e2c6d151e5fbf875dd08b3577f73afd6ee6674605  linux-6.6.12.tar.xz
diff --git a/configs/acmesystems_acqua_a5_256mb_defconfig b/configs/acmesystems_acqua_a5_256mb_defconfig
index ef57734194..359b356cb4 100644
--- a/configs/acmesystems_acqua_a5_256mb_defconfig
+++ b/configs/acmesystems_acqua_a5_256mb_defconfig
@@ -3,6 +3,8 @@  BR2_cortex_a5=y
 BR2_ARM_ENABLE_VFP=y
 BR2_ARM_INSTRUCTIONS_THUMB2=y
 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y
+BR2_GLOBAL_PATCH_DIR="board/acmesystems/acqua-a5/patches"
+BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
 BR2_SYSTEM_DHCP="eth0"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
 BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/acmesystems/acqua-a5/genimage.cfg"
diff --git a/configs/acmesystems_acqua_a5_512mb_defconfig b/configs/acmesystems_acqua_a5_512mb_defconfig
index a69e2a2251..194de0b530 100644
--- a/configs/acmesystems_acqua_a5_512mb_defconfig
+++ b/configs/acmesystems_acqua_a5_512mb_defconfig
@@ -3,6 +3,8 @@  BR2_cortex_a5=y
 BR2_ARM_ENABLE_VFP=y
 BR2_ARM_INSTRUCTIONS_THUMB2=y
 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y
+BR2_GLOBAL_PATCH_DIR="board/acmesystems/acqua-a5/patches"
+BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
 BR2_SYSTEM_DHCP="eth0"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
 BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/acmesystems/acqua-a5/genimage.cfg"