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 <matt@madison.systems>
This commit is contained in:
Matt Madison
2023-09-05 13:26:20 -07:00
parent 94d8bf088f
commit f86a68bf5a

View File

@@ -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