* [Buildroot] [PATCH 1/3] configs/armadeus_apf27: add hashes for Linux/U-Boot
@ 2024-05-03 15:48 Julien BOIBESSOT
2024-05-03 15:48 ` [Buildroot] [PATCH 2/3] configs/armadeus_apf28: activates BR2_DOWNLOAD_FORCE_CHECK_HASHES Julien BOIBESSOT
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Julien BOIBESSOT @ 2024-05-03 15:48 UTC (permalink / raw)
To: buildroot; +Cc: Romain Naour, Julien BOIBESSOT
And enable BR2_DOWNLOAD_FORCE_CHECK_HASHES. As asked By Romain.
Signed-off-by: Julien BOIBESSOT <julien.boibessot@armadeus.com>
---
| 1 +
board/armadeus/patches/linux/linux.hash | 2 ++
board/armadeus/patches/uboot/uboot.hash | 2 ++
configs/armadeus_apf27_defconfig | 4 ++++
4 files changed, 9 insertions(+)
create mode 120000 board/armadeus/patches/linux-headers/linux-headers.hash
create mode 100644 board/armadeus/patches/linux/linux.hash
create mode 100644 board/armadeus/patches/uboot/uboot.hash
--git a/board/armadeus/patches/linux-headers/linux-headers.hash b/board/armadeus/patches/linux-headers/linux-headers.hash
new file mode 120000
index 0000000000..5808d92afe
--- /dev/null
+++ b/board/armadeus/patches/linux-headers/linux-headers.hash
@@ -0,0 +1 @@
+../linux/linux.hash
\ No newline at end of file
diff --git a/board/armadeus/patches/linux/linux.hash b/board/armadeus/patches/linux/linux.hash
new file mode 100644
index 0000000000..804920c10d
--- /dev/null
+++ b/board/armadeus/patches/linux/linux.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 879ca159c34ea9d3a6775f292cc59c2d3931d57dca00f0bebe2675ea0c82c6a9 linux-5.10.215.tar.xz
diff --git a/board/armadeus/patches/uboot/uboot.hash b/board/armadeus/patches/uboot/uboot.hash
new file mode 100644
index 0000000000..777e0adab2
--- /dev/null
+++ b/board/armadeus/patches/uboot/uboot.hash
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 839bf23cfe8ce613a77e583a60375179d0ad324e92c82fbdd07bebf0fd142268 u-boot-2018.09.tar.bz2
diff --git a/configs/armadeus_apf27_defconfig b/configs/armadeus_apf27_defconfig
index a87d319729..782587e410 100644
--- a/configs/armadeus_apf27_defconfig
+++ b/configs/armadeus_apf27_defconfig
@@ -5,6 +5,10 @@ BR2_arm926t=y
# Linux headers same as kernel, a 5.10 series
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
+# Build
+BR2_GLOBAL_PATCH_DIR="board/armadeus/patches"
+BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
+
# System
BR2_TARGET_GENERIC_HOSTNAME="apf27"
BR2_TARGET_GENERIC_ISSUE="Welcome to Armadeus development platform !"
--
2.25.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 2/3] configs/armadeus_apf28: activates BR2_DOWNLOAD_FORCE_CHECK_HASHES
2024-05-03 15:48 [Buildroot] [PATCH 1/3] configs/armadeus_apf27: add hashes for Linux/U-Boot Julien BOIBESSOT
@ 2024-05-03 15:48 ` Julien BOIBESSOT
2024-05-03 15:48 ` [Buildroot] [PATCH 3/3] configs/armadeus_apf51: " Julien BOIBESSOT
2024-05-05 8:38 ` [Buildroot] [PATCH 1/3] configs/armadeus_apf27: add hashes for Linux/U-Boot Yann E. MORIN
2 siblings, 0 replies; 6+ messages in thread
From: Julien BOIBESSOT @ 2024-05-03 15:48 UTC (permalink / raw)
To: buildroot; +Cc: Romain Naour, Julien BOIBESSOT
As asked by Romain. Armadeus boards share same Linux hashes.
Signed-off-by: Julien BOIBESSOT <julien.boibessot@armadeus.com>
---
configs/armadeus_apf28_defconfig | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/configs/armadeus_apf28_defconfig b/configs/armadeus_apf28_defconfig
index 5207cf674c..4ff79dd012 100644
--- a/configs/armadeus_apf28_defconfig
+++ b/configs/armadeus_apf28_defconfig
@@ -5,6 +5,10 @@ BR2_arm926t=y
# Linux headers same as kernel, a 5.10 series
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
+# Build
+BR2_GLOBAL_PATCH_DIR="board/armadeus/patches"
+BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
+
# System
BR2_TARGET_GENERIC_HOSTNAME="apf28"
BR2_TARGET_GENERIC_ISSUE="Welcome to Armadeus development platform !"
--
2.25.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 3/3] configs/armadeus_apf51: activates BR2_DOWNLOAD_FORCE_CHECK_HASHES
2024-05-03 15:48 [Buildroot] [PATCH 1/3] configs/armadeus_apf27: add hashes for Linux/U-Boot Julien BOIBESSOT
2024-05-03 15:48 ` [Buildroot] [PATCH 2/3] configs/armadeus_apf28: activates BR2_DOWNLOAD_FORCE_CHECK_HASHES Julien BOIBESSOT
@ 2024-05-03 15:48 ` Julien BOIBESSOT
2024-05-05 8:38 ` [Buildroot] [PATCH 1/3] configs/armadeus_apf27: add hashes for Linux/U-Boot Yann E. MORIN
2 siblings, 0 replies; 6+ messages in thread
From: Julien BOIBESSOT @ 2024-05-03 15:48 UTC (permalink / raw)
To: buildroot; +Cc: Romain Naour, Julien BOIBESSOT
As asked by Romain. Armadeus boards share Linux hashes.
Signed-off-by: Julien BOIBESSOT <julien.boibessot@armadeus.com>
---
configs/armadeus_apf51_defconfig | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/configs/armadeus_apf51_defconfig b/configs/armadeus_apf51_defconfig
index af4562ce0f..8317dd7b8b 100644
--- a/configs/armadeus_apf51_defconfig
+++ b/configs/armadeus_apf51_defconfig
@@ -5,6 +5,10 @@ BR2_cortex_a8=y
# Linux headers same as kernel, a 5.10 series
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
+# Build
+BR2_GLOBAL_PATCH_DIR="board/armadeus/patches"
+BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
+
# System
BR2_TARGET_GENERIC_HOSTNAME="apf51"
BR2_TARGET_GENERIC_ISSUE="Welcome to Armadeus development platform !"
--
2.25.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH 1/3] configs/armadeus_apf27: add hashes for Linux/U-Boot
2024-05-03 15:48 [Buildroot] [PATCH 1/3] configs/armadeus_apf27: add hashes for Linux/U-Boot Julien BOIBESSOT
2024-05-03 15:48 ` [Buildroot] [PATCH 2/3] configs/armadeus_apf28: activates BR2_DOWNLOAD_FORCE_CHECK_HASHES Julien BOIBESSOT
2024-05-03 15:48 ` [Buildroot] [PATCH 3/3] configs/armadeus_apf51: " Julien BOIBESSOT
@ 2024-05-05 8:38 ` Yann E. MORIN
2024-05-05 20:07 ` julien.boibessot
2 siblings, 1 reply; 6+ messages in thread
From: Yann E. MORIN @ 2024-05-05 8:38 UTC (permalink / raw)
To: Julien BOIBESSOT; +Cc: Romain Naour, buildroot
Julien, All,
On 2024-05-03 17:48 +0200, Julien BOIBESSOT spake thusly:
> And enable BR2_DOWNLOAD_FORCE_CHECK_HASHES. As asked By Romain.
$ ./utils/docker-run make check-package
configs/armadeus_apf27_defconfig:0: lib_defconfig.ForceCheckHash was expected to fail, did you fix the file and forget to update .checkpackageignore?
configs/armadeus_apf28_defconfig:0: lib_defconfig.ForceCheckHash was expected to fail, did you fix the file and forget to update .checkpackageignore?
configs/armadeus_apf51_defconfig:0: lib_defconfig.ForceCheckHash was expected to fail, did you fix the file and forget to update .checkpackageignore?
I've fixed that in each corresponding patch.
Series applied to master, thanks.
Regards,
Yann E. MORIN.
> Signed-off-by: Julien BOIBESSOT <julien.boibessot@armadeus.com>
> ---
> board/armadeus/patches/linux-headers/linux-headers.hash | 1 +
> board/armadeus/patches/linux/linux.hash | 2 ++
> board/armadeus/patches/uboot/uboot.hash | 2 ++
> configs/armadeus_apf27_defconfig | 4 ++++
> 4 files changed, 9 insertions(+)
> create mode 120000 board/armadeus/patches/linux-headers/linux-headers.hash
> create mode 100644 board/armadeus/patches/linux/linux.hash
> create mode 100644 board/armadeus/patches/uboot/uboot.hash
>
> diff --git a/board/armadeus/patches/linux-headers/linux-headers.hash b/board/armadeus/patches/linux-headers/linux-headers.hash
> new file mode 120000
> index 0000000000..5808d92afe
> --- /dev/null
> +++ b/board/armadeus/patches/linux-headers/linux-headers.hash
> @@ -0,0 +1 @@
> +../linux/linux.hash
> \ No newline at end of file
> diff --git a/board/armadeus/patches/linux/linux.hash b/board/armadeus/patches/linux/linux.hash
> new file mode 100644
> index 0000000000..804920c10d
> --- /dev/null
> +++ b/board/armadeus/patches/linux/linux.hash
> @@ -0,0 +1,2 @@
> +# Locally calculated
> +sha256 879ca159c34ea9d3a6775f292cc59c2d3931d57dca00f0bebe2675ea0c82c6a9 linux-5.10.215.tar.xz
> diff --git a/board/armadeus/patches/uboot/uboot.hash b/board/armadeus/patches/uboot/uboot.hash
> new file mode 100644
> index 0000000000..777e0adab2
> --- /dev/null
> +++ b/board/armadeus/patches/uboot/uboot.hash
> @@ -0,0 +1,2 @@
> +# Locally computed
> +sha256 839bf23cfe8ce613a77e583a60375179d0ad324e92c82fbdd07bebf0fd142268 u-boot-2018.09.tar.bz2
> diff --git a/configs/armadeus_apf27_defconfig b/configs/armadeus_apf27_defconfig
> index a87d319729..782587e410 100644
> --- a/configs/armadeus_apf27_defconfig
> +++ b/configs/armadeus_apf27_defconfig
> @@ -5,6 +5,10 @@ BR2_arm926t=y
> # Linux headers same as kernel, a 5.10 series
> BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
>
> +# Build
> +BR2_GLOBAL_PATCH_DIR="board/armadeus/patches"
> +BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
> +
> # System
> BR2_TARGET_GENERIC_HOSTNAME="apf27"
> BR2_TARGET_GENERIC_ISSUE="Welcome to Armadeus development platform !"
> --
> 2.25.1
>
> _______________________________________________
> 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] 6+ messages in thread
* Re: [Buildroot] [PATCH 1/3] configs/armadeus_apf27: add hashes for Linux/U-Boot
2024-05-05 8:38 ` [Buildroot] [PATCH 1/3] configs/armadeus_apf27: add hashes for Linux/U-Boot Yann E. MORIN
@ 2024-05-05 20:07 ` julien.boibessot
2024-05-05 20:40 ` Yann E. MORIN
0 siblings, 1 reply; 6+ messages in thread
From: julien.boibessot @ 2024-05-05 20:07 UTC (permalink / raw)
To: Yann E. MORIN; +Cc: Romain Naour, buildroot
Yann,
Le 2024-05-05 10:38, Yann E. MORIN a écrit :
> Julien, All,
>
> On 2024-05-03 17:48 +0200, Julien BOIBESSOT spake thusly:
>> And enable BR2_DOWNLOAD_FORCE_CHECK_HASHES. As asked By Romain.
>
> $ ./utils/docker-run make check-package
> configs/armadeus_apf27_defconfig:0: lib_defconfig.ForceCheckHash
> was expected to fail, did you fix the file and forget to update
> .checkpackageignore?
> configs/armadeus_apf28_defconfig:0: lib_defconfig.ForceCheckHash
> was expected to fail, did you fix the file and forget to update
> .checkpackageignore?
> configs/armadeus_apf51_defconfig:0: lib_defconfig.ForceCheckHash
> was expected to fail, did you fix the file and forget to update
> .checkpackageignore?
>
> I've fixed that in each corresponding patch.
>
Thanks for the fix ! I also saw the messages when running "make
check-package" but didn't know if it was my job or not to fix
.checkpackageignore file.
Is there any documentation on what I was supposed to do ?
Best regards,
Julien
> Series applied to master, thanks.
>
> Regards,
> Yann E. MORIN.
>
>> Signed-off-by: Julien BOIBESSOT <julien.boibessot@armadeus.com>
>> ---
>> board/armadeus/patches/linux-headers/linux-headers.hash | 1 +
>> board/armadeus/patches/linux/linux.hash | 2 ++
>> board/armadeus/patches/uboot/uboot.hash | 2 ++
>> configs/armadeus_apf27_defconfig | 4 ++++
>> 4 files changed, 9 insertions(+)
>> create mode 120000
>> board/armadeus/patches/linux-headers/linux-headers.hash
>> create mode 100644 board/armadeus/patches/linux/linux.hash
>> create mode 100644 board/armadeus/patches/uboot/uboot.hash
>>
>> diff --git a/board/armadeus/patches/linux-headers/linux-headers.hash
>> b/board/armadeus/patches/linux-headers/linux-headers.hash
>> new file mode 120000
>> index 0000000000..5808d92afe
>> --- /dev/null
>> +++ b/board/armadeus/patches/linux-headers/linux-headers.hash
>> @@ -0,0 +1 @@
>> +../linux/linux.hash
>> \ No newline at end of file
>> diff --git a/board/armadeus/patches/linux/linux.hash
>> b/board/armadeus/patches/linux/linux.hash
>> new file mode 100644
>> index 0000000000..804920c10d
>> --- /dev/null
>> +++ b/board/armadeus/patches/linux/linux.hash
>> @@ -0,0 +1,2 @@
>> +# Locally calculated
>> +sha256
>> 879ca159c34ea9d3a6775f292cc59c2d3931d57dca00f0bebe2675ea0c82c6a9
>> linux-5.10.215.tar.xz
>> diff --git a/board/armadeus/patches/uboot/uboot.hash
>> b/board/armadeus/patches/uboot/uboot.hash
>> new file mode 100644
>> index 0000000000..777e0adab2
>> --- /dev/null
>> +++ b/board/armadeus/patches/uboot/uboot.hash
>> @@ -0,0 +1,2 @@
>> +# Locally computed
>> +sha256
>> 839bf23cfe8ce613a77e583a60375179d0ad324e92c82fbdd07bebf0fd142268
>> u-boot-2018.09.tar.bz2
>> diff --git a/configs/armadeus_apf27_defconfig
>> b/configs/armadeus_apf27_defconfig
>> index a87d319729..782587e410 100644
>> --- a/configs/armadeus_apf27_defconfig
>> +++ b/configs/armadeus_apf27_defconfig
>> @@ -5,6 +5,10 @@ BR2_arm926t=y
>> # Linux headers same as kernel, a 5.10 series
>> BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
>>
>> +# Build
>> +BR2_GLOBAL_PATCH_DIR="board/armadeus/patches"
>> +BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
>> +
>> # System
>> BR2_TARGET_GENERIC_HOSTNAME="apf27"
>> BR2_TARGET_GENERIC_ISSUE="Welcome to Armadeus development platform !"
>> --
>> 2.25.1
>>
>> _______________________________________________
>> buildroot mailing list
>> buildroot@buildroot.org
>> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH 1/3] configs/armadeus_apf27: add hashes for Linux/U-Boot
2024-05-05 20:07 ` julien.boibessot
@ 2024-05-05 20:40 ` Yann E. MORIN
0 siblings, 0 replies; 6+ messages in thread
From: Yann E. MORIN @ 2024-05-05 20:40 UTC (permalink / raw)
To: julien.boibessot; +Cc: Romain Naour, buildroot
Julien, All,
On 2024-05-05 22:07 +0200, julien.boibessot@armadeus.com spake thusly:
> Le 2024-05-05 10:38, Yann E. MORIN a écrit :
> > Julien, All,
> > On 2024-05-03 17:48 +0200, Julien BOIBESSOT spake thusly:
> > > And enable BR2_DOWNLOAD_FORCE_CHECK_HASHES. As asked By Romain.
> > $ ./utils/docker-run make check-package
> > configs/armadeus_apf27_defconfig:0: lib_defconfig.ForceCheckHash
> > was expected to fail, did you fix the file and forget to update
> > .checkpackageignore?
[--SNIP--]
> Thanks for the fix ! I also saw the messages when running "make
> check-package" but didn't know if it was my job or not to fix
> .checkpackageignore file.
Entries in .checkpackageignore means that those files are exempleted
from the associated tests. Presumably, those files pre-existed
check-package, and thus we did not want to fail for those, so we
excluded them.
So, when a file is fixed, the corresponding exclusion must be removed.
In this case, you fixed the lib_defconfig.ForceCheckHash test, so now it
no longer fails, but it was expected to fail. so the correct solution is
indeed for you to state "yes, I fixed it, so it is no longer excluded!".
> Is there any documentation on what I was supposed to do ?
Err... Joker.
Thanks!
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| 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] 6+ messages in thread
end of thread, other threads:[~2024-05-05 20:40 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-03 15:48 [Buildroot] [PATCH 1/3] configs/armadeus_apf27: add hashes for Linux/U-Boot Julien BOIBESSOT
2024-05-03 15:48 ` [Buildroot] [PATCH 2/3] configs/armadeus_apf28: activates BR2_DOWNLOAD_FORCE_CHECK_HASHES Julien BOIBESSOT
2024-05-03 15:48 ` [Buildroot] [PATCH 3/3] configs/armadeus_apf51: " Julien BOIBESSOT
2024-05-05 8:38 ` [Buildroot] [PATCH 1/3] configs/armadeus_apf27: add hashes for Linux/U-Boot Yann E. MORIN
2024-05-05 20:07 ` julien.boibessot
2024-05-05 20:40 ` 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