From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Cc: Christophe Priouzeau <christophe.priouzeau@foss.st.com>,
linux-amarula@amarulasolutions.com, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] configs/stm32f429_disco_xip: add hashes
Date: Thu, 6 Jun 2024 15:25:09 +0200 [thread overview]
Message-ID: <ZmG4tZkQRcP2pAPx@landeda> (raw)
In-Reply-To: <20240606102208.580103-1-dario.binacchi@amarulasolutions.com>
Dario, All,
On 2024-06-06 12:22 +0200, Dario Binacchi spake thusly:
> The patch adds .hash files for Linux and Linux headers 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>
> ---
[--SNIP--]
> diff --git a/board/stmicroelectronics/stm32f429-disco/patches/linux-headers/linux-headers.hash b/board/stmicroelectronics/stm32f429-disco/patches/linux-headers/linux-headers.hash
> new file mode 120000
> index 000000000000..5808d92afe89
> --- /dev/null
> +++ b/board/stmicroelectronics/stm32f429-disco/patches/linux-headers/linux-headers.hash
> @@ -0,0 +1 @@
> +../linux/linux.hash
> \ No newline at end of file
This symlink is not needed in that defconfig: it uses linux-headers that
are not the same as the kernel, and instead use the 6.1.x from the
linux-headers version choice.
SoI dropped the symlink, to avoid any confusion.
Applied to master, with the above fixed, thanks.
Regards,
Yann E. MORIN.
> diff --git a/board/stmicroelectronics/stm32f429-disco/patches/linux/linux.hash b/board/stmicroelectronics/stm32f429-disco/patches/linux/linux.hash
> new file mode 100644
> index 000000000000..c1bd9f9100d5
> --- /dev/null
> +++ b/board/stmicroelectronics/stm32f429-disco/patches/linux/linux.hash
> @@ -0,0 +1,2 @@
> +# Locally calculated
> +sha256 c2b74b96dd3d0cc9f300914ef7c4eef76d5fac9de6047961f49e69447ce9f905 linux-6.1.27.tar.xz
> diff --git a/configs/stm32f429_disco_xip_defconfig b/configs/stm32f429_disco_xip_defconfig
> index 99ae8cc7533b..e3d3cc38ff8e 100644
> --- a/configs/stm32f429_disco_xip_defconfig
> +++ b/configs/stm32f429_disco_xip_defconfig
> @@ -3,6 +3,8 @@ BR2_cortex_m4=y
> BR2_KERNEL_HEADERS_6_1=y
> # BR2_UCLIBC_INSTALL_UTILS is not set
> BR2_ENABLE_LTO=y
> +BR2_GLOBAL_PATCH_DIR="board/stmicroelectronics/stm32f429-disco/patches"
> +BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
> BR2_ROOTFS_POST_BUILD_SCRIPT="board/stmicroelectronics/common/stm32f4xx/stm32-post-build.sh"
> BR2_LINUX_KERNEL=y
> BR2_LINUX_KERNEL_CUSTOM_VERSION=y
> --
> 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
next prev parent reply other threads:[~2024-06-06 13:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-06 10:22 [Buildroot] [PATCH 1/1] configs/stm32f429_disco_xip: add hashes Dario Binacchi
2024-06-06 13:25 ` Yann E. MORIN [this message]
2024-06-11 21:42 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZmG4tZkQRcP2pAPx@landeda \
--to=yann.morin.1998@free.fr \
--cc=buildroot@buildroot.org \
--cc=christophe.priouzeau@foss.st.com \
--cc=dario.binacchi@amarulasolutions.com \
--cc=linux-amarula@amarulasolutions.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox