diff mbox series

uboot-sign: fix concat_dtb arguments

Message ID b676cb1d-53f0-403d-969f-e0bfdaedc4cc@gmail.com
State Accepted, archived
Commit b3c473785e5ceef677ff2b77c5fc17f5704c622f
Headers show
Series uboot-sign: fix concat_dtb arguments | expand

Commit Message

Clayton Casciato Nov. 7, 2024, 5:10 p.m. UTC
Fixes [YOCTO #15642]

Ensure empty argument passed from do_uboot_assemble_fitimage is passed to
concat_dtb

Signed-off-by: Clayton Casciato <majortomtosourcecontrol@gmail.com>
---
Sponsor: 21SoftWare LLC

 meta/classes-recipe/uboot-sign.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Clayton Casciato Nov. 14, 2024, 1:35 p.m. UTC | #1
Hello!

I am looking for feedback and/or the status for this patch.

Thanks!

--
Clayton Casciato

On 11/7/24 10:10 AM, Clayton Casciato wrote:
> Fixes [YOCTO #15642]
> 
> Ensure empty argument passed from do_uboot_assemble_fitimage is passed to
> concat_dtb
> 
> Signed-off-by: Clayton Casciato <majortomtosourcecontrol@gmail.com>
> ---
> Sponsor: 21SoftWare LLC
> 
>  meta/classes-recipe/uboot-sign.bbclass | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/classes-recipe/uboot-sign.bbclass b/meta/classes-recipe/uboot-sign.bbclass
> index 3e5f5dcf66..a17be745ce 100644
> --- a/meta/classes-recipe/uboot-sign.bbclass
> +++ b/meta/classes-recipe/uboot-sign.bbclass
> @@ -338,7 +338,7 @@ uboot_assemble_fitimage_helper() {
>  	binary="$2"
>  
>  	if [ "${UBOOT_SIGN_ENABLE}" = "1" -a -n "${UBOOT_DTB_BINARY}" ] ; then
> -		concat_dtb $type $binary
> +		concat_dtb "$type" "$binary"
>  	fi
>  
>  	if [ "${UBOOT_FITIMAGE_ENABLE}" = "1" -a -n "${SPL_DTB_BINARY}" ]; then
Mathieu Dubois-Briand Nov. 14, 2024, 2:35 p.m. UTC | #2
On Thu, Nov 14, 2024 at 06:35:29AM -0700, Clayton Casciato via lists.openembedded.org wrote:
> Hello!
> 
> I am looking for feedback and/or the status for this patch.
> 
> Thanks!
> 

Hi Clayton,

This patch has now been merged in master:
https://git.openembedded.org/openembedded-core/commit/?id=b3c473785e5ceef677ff2b77c5fc17f5704c622f
Clayton Casciato Nov. 14, 2024, 2:49 p.m. UTC | #3
> On Thu, Nov 14, 2024 at 06:35:29AM -0700, Clayton Casciato via lists.openembedded.org wrote:
>> Hello!
>>
>> I am looking for feedback and/or the status for this patch.
>>
>> Thanks!
>>
> 
> Hi Clayton,
> 
> This patch has now been merged in master:
> https://git.openembedded.org/openembedded-core/commit/?id=b3c473785e5ceef677ff2b77c5fc17f5704c622f
> 

Hi, Mathieu!

That's good to see.

Thank you for the quick response and link!
diff mbox series

Patch

diff --git a/meta/classes-recipe/uboot-sign.bbclass b/meta/classes-recipe/uboot-sign.bbclass
index 3e5f5dcf66..a17be745ce 100644
--- a/meta/classes-recipe/uboot-sign.bbclass
+++ b/meta/classes-recipe/uboot-sign.bbclass
@@ -338,7 +338,7 @@  uboot_assemble_fitimage_helper() {
 	binary="$2"
 
 	if [ "${UBOOT_SIGN_ENABLE}" = "1" -a -n "${UBOOT_DTB_BINARY}" ] ; then
-		concat_dtb $type $binary
+		concat_dtb "$type" "$binary"
 	fi
 
 	if [ "${UBOOT_FITIMAGE_ENABLE}" = "1" -a -n "${SPL_DTB_BINARY}" ]; then