diff mbox series

[2/2] configs/openblocks_a6_defconfig: add hashes for Linux / headers

Message ID 20240514195019.4113851-2-peter@korsgaard.com
State Accepted
Headers show
Series [1/2] configs/openblocks_a6_defconfig: bump Linux to fix binutils 2.41 build | expand

Commit Message

Peter Korsgaard May 14, 2024, 7:50 p.m. UTC
And enable BR2_DOWNLOAD_FORCE_CHECK_HASHES.

Generated by utils/add-custom-hashes, with the (redundant)
linux-headers.hash replaced by a symlink.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 board/openblocks/a6/patches/linux-headers/linux-headers.hash | 1 +
 board/openblocks/a6/patches/linux/linux.hash                 | 2 ++
 configs/openblocks_a6_defconfig                              | 2 ++
 3 files changed, 5 insertions(+)
 create mode 120000 board/openblocks/a6/patches/linux-headers/linux-headers.hash
 create mode 100644 board/openblocks/a6/patches/linux/linux.hash

Comments

Yann E. MORIN May 17, 2024, 2:37 p.m. UTC | #1
Peter, All,

On 2024-05-14 21:50 +0200, Peter Korsgaard spake thusly:
> And enable BR2_DOWNLOAD_FORCE_CHECK_HASHES.
> 
> Generated by utils/add-custom-hashes, with the (redundant)
> linux-headers.hash replaced by a symlink.
> 
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
> ---
>  board/openblocks/a6/patches/linux-headers/linux-headers.hash | 1 +
>  board/openblocks/a6/patches/linux/linux.hash                 | 2 ++
>  configs/openblocks_a6_defconfig                              | 2 ++

    $ make check-package
    configs/openblocks_a6_defconfig:0: lib_defconfig.ForceCheckHash was
    expected to fail, did you fix the file and forget to update
    [...]/.checkpackageignore?

Fixed, and applied to master, thanks.

Regards,
Yann E. MORIN.

>  3 files changed, 5 insertions(+)
>  create mode 120000 board/openblocks/a6/patches/linux-headers/linux-headers.hash
>  create mode 100644 board/openblocks/a6/patches/linux/linux.hash
> 
> diff --git a/board/openblocks/a6/patches/linux-headers/linux-headers.hash b/board/openblocks/a6/patches/linux-headers/linux-headers.hash
> new file mode 120000
> index 0000000000..5808d92afe
> --- /dev/null
> +++ b/board/openblocks/a6/patches/linux-headers/linux-headers.hash
> @@ -0,0 +1 @@
> +../linux/linux.hash
> \ No newline at end of file
> diff --git a/board/openblocks/a6/patches/linux/linux.hash b/board/openblocks/a6/patches/linux/linux.hash
> new file mode 100644
> index 0000000000..b207306a2b
> --- /dev/null
> +++ b/board/openblocks/a6/patches/linux/linux.hash
> @@ -0,0 +1,2 @@
> +# Locally calculated
> +sha256  0820fdb7971c6974338081c11fbf2dc869870501e7bdcac4d0ed58ba1f57b61c  linux-4.14.336.tar.xz
> diff --git a/configs/openblocks_a6_defconfig b/configs/openblocks_a6_defconfig
> index 69b75f5043..6a816597ac 100644
> --- a/configs/openblocks_a6_defconfig
> +++ b/configs/openblocks_a6_defconfig
> @@ -3,6 +3,8 @@ BR2_arm=y
>  BR2_arm926t=y
>  
>  # system
> +BR2_GLOBAL_PATCH_DIR="board/openblocks/a6/patches"
> +BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
>  BR2_TARGET_GENERIC_HOSTNAME="openblocks-a6"
>  BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
>  BR2_SYSTEM_DHCP="eth0"
> -- 
> 2.39.2
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
diff mbox series

Patch

diff --git a/board/openblocks/a6/patches/linux-headers/linux-headers.hash b/board/openblocks/a6/patches/linux-headers/linux-headers.hash
new file mode 120000
index 0000000000..5808d92afe
--- /dev/null
+++ b/board/openblocks/a6/patches/linux-headers/linux-headers.hash
@@ -0,0 +1 @@ 
+../linux/linux.hash
\ No newline at end of file
diff --git a/board/openblocks/a6/patches/linux/linux.hash b/board/openblocks/a6/patches/linux/linux.hash
new file mode 100644
index 0000000000..b207306a2b
--- /dev/null
+++ b/board/openblocks/a6/patches/linux/linux.hash
@@ -0,0 +1,2 @@ 
+# Locally calculated
+sha256  0820fdb7971c6974338081c11fbf2dc869870501e7bdcac4d0ed58ba1f57b61c  linux-4.14.336.tar.xz
diff --git a/configs/openblocks_a6_defconfig b/configs/openblocks_a6_defconfig
index 69b75f5043..6a816597ac 100644
--- a/configs/openblocks_a6_defconfig
+++ b/configs/openblocks_a6_defconfig
@@ -3,6 +3,8 @@  BR2_arm=y
 BR2_arm926t=y
 
 # system
+BR2_GLOBAL_PATCH_DIR="board/openblocks/a6/patches"
+BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
 BR2_TARGET_GENERIC_HOSTNAME="openblocks-a6"
 BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
 BR2_SYSTEM_DHCP="eth0"