From 7400e5ef9bbc3e0a1758905a9ba45ca861ebfda2 Mon Sep 17 00:00:00 2001 From: Chad McQuillen Date: Fri, 14 Mar 2025 15:44:54 -0400 Subject: [PATCH] tegra-uefi-capsules: fix signing with external server - 'mv generate_bup_payload.sh doflash.sh' should be conditional on TEGRA_SIGNING_EXCLUDE_TOOLS. Those who use external signing servers will set this to "1" which skips the generation of generate_bup_payload.sh. See invocations of tegraflash_generate_bupgen_script in image_types_tegra.bbclass. Signed-off-by: Chad McQuillen --- recipes-bsp/uefi/tegra-uefi-capsules_36.4.0.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes-bsp/uefi/tegra-uefi-capsules_36.4.0.bb b/recipes-bsp/uefi/tegra-uefi-capsules_36.4.0.bb index f7da9b11..ce8d470b 100644 --- a/recipes-bsp/uefi/tegra-uefi-capsules_36.4.0.bb +++ b/recipes-bsp/uefi/tegra-uefi-capsules_36.4.0.bb @@ -26,7 +26,9 @@ do_compile() { # BUP generator really wants to use 'boot.img' for the LNX # partition contents tegraflash_populate_package ${IMAGE_TEGRAFLASH_KERNEL} boot.img ${@tegra_bootcontrol_overlay_list(d, bup=True)} - mv generate_bup_payload.sh doflash.sh + if [ "${TEGRA_SIGNING_EXCLUDE_TOOLS}" != "1" ]; then + mv generate_bup_payload.sh doflash.sh + fi tegraflash_create_flash_config flash.xml.in boot.img ${STAGING_DATADIR}/tegraflash/bupgen-internal-flash.xml . ./flashvars tegraflash_custom_sign_bup