From f86a68bf5ac88aa014c11f62b6fe7fd89c0dbf3e Mon Sep 17 00:00:00 2001 From: Matt Madison Date: Tue, 5 Sep 2023 13:26:20 -0700 Subject: [PATCH] image_types_tegra.bbclass: correct typo in copy_dtbs function When copying out of ${DEPLOY_DIR_IMAGE}, use the basename of the DTB file. Signed-off-by: Matt Madison --- classes/image_types_tegra.bbclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/classes/image_types_tegra.bbclass b/classes/image_types_tegra.bbclass index ff23cd8a..1708c07b 100644 --- a/classes/image_types_tegra.bbclass +++ b/classes/image_types_tegra.bbclass @@ -328,10 +328,10 @@ copy_dtbs() { bbnote "Overwriting $destination/$dtbf with KERNEL_DEVICETREE content" rm -f $destination/$dtbf $destination/$dtbf.signed fi - bbnote "Copying KERNEL_DEVICETREE entry $dtb to $destination" - cp -L "${DEPLOY_DIR_IMAGE}/$dtb" $destination/$dtbf + bbnote "Copying KERNEL_DEVICETREE entry $dtbf to $destination" + cp -L "${DEPLOY_DIR_IMAGE}/$dtbf" $destination/$dtbf if ${USE_UEFI_SIGNED_FILES}; then - cp -L "${DEPLOY_DIR_IMAGE}/$dtb.signed" $destination/$dtbf.signed + cp -L "${DEPLOY_DIR_IMAGE}/$dtbf.signed" $destination/$dtbf.signed fi done if [ -n "${EXTERNAL_KERNEL_DEVICETREE}" ]; then