* [Buildroot] [PATCH 1/1] configs/stm32f769_disco_sd: add hashes
@ 2024-06-06 10:18 Dario Binacchi
2024-06-06 13:23 ` Yann E. MORIN
0 siblings, 1 reply; 2+ messages in thread
From: Dario Binacchi @ 2024-06-06 10:18 UTC (permalink / raw)
To: buildroot; +Cc: Dario Binacchi, linux-amarula
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 <dario.binacchi@amarulasolutions.com>
---
.checkpackageignore | 1 -
| 1 +
.../stmicroelectronics/stm32f769-disco/patches/linux/linux.hash | 2 ++
.../stmicroelectronics/stm32f769-disco/patches/uboot/uboot.hash | 2 ++
configs/stm32f769_disco_sd_defconfig | 2 ++
5 files changed, 7 insertions(+), 1 deletion(-)
create mode 120000 board/stmicroelectronics/stm32f769-disco/patches/linux-headers/linux-headers.hash
create mode 100644 board/stmicroelectronics/stm32f769-disco/patches/linux/linux.hash
create mode 100644 board/stmicroelectronics/stm32f769-disco/patches/uboot/uboot.hash
diff --git a/.checkpackageignore b/.checkpackageignore
index d0bd179a5c02..35c8c0a59c7f 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore
@@ -333,7 +333,6 @@ configs/spike_riscv64_defconfig lib_defconfig.ForceCheckHash
configs/stm32f429_disco_xip_defconfig lib_defconfig.ForceCheckHash
configs/stm32f469_disco_sd_defconfig lib_defconfig.ForceCheckHash
configs/stm32f469_disco_xip_defconfig lib_defconfig.ForceCheckHash
-configs/stm32f769_disco_sd_defconfig lib_defconfig.ForceCheckHash
configs/stm32mp157a_dk1_defconfig lib_defconfig.ForceCheckHash
configs/stm32mp157c_dk2_defconfig lib_defconfig.ForceCheckHash
configs/stm32mp157c_odyssey_defconfig lib_defconfig.ForceCheckHash
--git a/board/stmicroelectronics/stm32f769-disco/patches/linux-headers/linux-headers.hash b/board/stmicroelectronics/stm32f769-disco/patches/linux-headers/linux-headers.hash
new file mode 120000
index 000000000000..5808d92afe89
--- /dev/null
+++ b/board/stmicroelectronics/stm32f769-disco/patches/linux-headers/linux-headers.hash
@@ -0,0 +1 @@
+../linux/linux.hash
\ No newline at end of file
diff --git a/board/stmicroelectronics/stm32f769-disco/patches/linux/linux.hash b/board/stmicroelectronics/stm32f769-disco/patches/linux/linux.hash
new file mode 100644
index 000000000000..49a2ba85a7de
--- /dev/null
+++ b/board/stmicroelectronics/stm32f769-disco/patches/linux/linux.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 8beb69ada46f1cbca2f4cf901ec078846035c1cd925d9471422f65aff74243ba linux-5.15.108.tar.xz
diff --git a/board/stmicroelectronics/stm32f769-disco/patches/uboot/uboot.hash b/board/stmicroelectronics/stm32f769-disco/patches/uboot/uboot.hash
new file mode 100644
index 000000000000..7cef5b688ec3
--- /dev/null
+++ b/board/stmicroelectronics/stm32f769-disco/patches/uboot/uboot.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 e31cac91545ff41b71cec5d8c22afd695645cd6e2a442ccdacacd60534069341 u-boot-2023.04.tar.bz2
diff --git a/configs/stm32f769_disco_sd_defconfig b/configs/stm32f769_disco_sd_defconfig
index 725c985ec04e..952d22cc60dd 100644
--- a/configs/stm32f769_disco_sd_defconfig
+++ b/configs/stm32f769_disco_sd_defconfig
@@ -1,6 +1,8 @@
BR2_arm=y
BR2_cortex_m7=y
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y
+BR2_GLOBAL_PATCH_DIR="board/stmicroelectronics/stm32f769-disco/patches"
+BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
BR2_ROOTFS_POST_BUILD_SCRIPT="board/stmicroelectronics/stm32f769-disco/post-build.sh"
BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/stmicroelectronics/stm32f769-disco/genimage.cfg"
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] configs/stm32f769_disco_sd: add hashes
2024-06-06 10:18 [Buildroot] [PATCH 1/1] configs/stm32f769_disco_sd: add hashes Dario Binacchi
@ 2024-06-06 13:23 ` Yann E. MORIN
0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2024-06-06 13:23 UTC (permalink / raw)
To: Dario Binacchi; +Cc: linux-amarula, buildroot
Dario, All,
On 2024-06-06 12:18 +0200, Dario Binacchi spake thusly:
> 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 <dario.binacchi@amarulasolutions.com>
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> .checkpackageignore | 1 -
> .../stm32f769-disco/patches/linux-headers/linux-headers.hash | 1 +
> .../stmicroelectronics/stm32f769-disco/patches/linux/linux.hash | 2 ++
> .../stmicroelectronics/stm32f769-disco/patches/uboot/uboot.hash | 2 ++
> configs/stm32f769_disco_sd_defconfig | 2 ++
> 5 files changed, 7 insertions(+), 1 deletion(-)
> create mode 120000 board/stmicroelectronics/stm32f769-disco/patches/linux-headers/linux-headers.hash
> create mode 100644 board/stmicroelectronics/stm32f769-disco/patches/linux/linux.hash
> create mode 100644 board/stmicroelectronics/stm32f769-disco/patches/uboot/uboot.hash
>
> diff --git a/.checkpackageignore b/.checkpackageignore
> index d0bd179a5c02..35c8c0a59c7f 100644
> --- a/.checkpackageignore
> +++ b/.checkpackageignore
> @@ -333,7 +333,6 @@ configs/spike_riscv64_defconfig lib_defconfig.ForceCheckHash
> configs/stm32f429_disco_xip_defconfig lib_defconfig.ForceCheckHash
> configs/stm32f469_disco_sd_defconfig lib_defconfig.ForceCheckHash
> configs/stm32f469_disco_xip_defconfig lib_defconfig.ForceCheckHash
> -configs/stm32f769_disco_sd_defconfig lib_defconfig.ForceCheckHash
> configs/stm32mp157a_dk1_defconfig lib_defconfig.ForceCheckHash
> configs/stm32mp157c_dk2_defconfig lib_defconfig.ForceCheckHash
> configs/stm32mp157c_odyssey_defconfig lib_defconfig.ForceCheckHash
> diff --git a/board/stmicroelectronics/stm32f769-disco/patches/linux-headers/linux-headers.hash b/board/stmicroelectronics/stm32f769-disco/patches/linux-headers/linux-headers.hash
> new file mode 120000
> index 000000000000..5808d92afe89
> --- /dev/null
> +++ b/board/stmicroelectronics/stm32f769-disco/patches/linux-headers/linux-headers.hash
> @@ -0,0 +1 @@
> +../linux/linux.hash
> \ No newline at end of file
> diff --git a/board/stmicroelectronics/stm32f769-disco/patches/linux/linux.hash b/board/stmicroelectronics/stm32f769-disco/patches/linux/linux.hash
> new file mode 100644
> index 000000000000..49a2ba85a7de
> --- /dev/null
> +++ b/board/stmicroelectronics/stm32f769-disco/patches/linux/linux.hash
> @@ -0,0 +1,2 @@
> +# Locally calculated
> +sha256 8beb69ada46f1cbca2f4cf901ec078846035c1cd925d9471422f65aff74243ba linux-5.15.108.tar.xz
> diff --git a/board/stmicroelectronics/stm32f769-disco/patches/uboot/uboot.hash b/board/stmicroelectronics/stm32f769-disco/patches/uboot/uboot.hash
> new file mode 100644
> index 000000000000..7cef5b688ec3
> --- /dev/null
> +++ b/board/stmicroelectronics/stm32f769-disco/patches/uboot/uboot.hash
> @@ -0,0 +1,2 @@
> +# Locally calculated
> +sha256 e31cac91545ff41b71cec5d8c22afd695645cd6e2a442ccdacacd60534069341 u-boot-2023.04.tar.bz2
> diff --git a/configs/stm32f769_disco_sd_defconfig b/configs/stm32f769_disco_sd_defconfig
> index 725c985ec04e..952d22cc60dd 100644
> --- a/configs/stm32f769_disco_sd_defconfig
> +++ b/configs/stm32f769_disco_sd_defconfig
> @@ -1,6 +1,8 @@
> BR2_arm=y
> BR2_cortex_m7=y
> BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y
> +BR2_GLOBAL_PATCH_DIR="board/stmicroelectronics/stm32f769-disco/patches"
> +BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
> BR2_ROOTFS_POST_BUILD_SCRIPT="board/stmicroelectronics/stm32f769-disco/post-build.sh"
> BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
> BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/stmicroelectronics/stm32f769-disco/genimage.cfg"
> --
> 2.43.0
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-06-06 13:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-06 10:18 [Buildroot] [PATCH 1/1] configs/stm32f769_disco_sd: add hashes Dario Binacchi
2024-06-06 13:23 ` Yann E. MORIN
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox