Fix device tree file check in nvidia-kernel-oot-dtb

Signed-off-by: William Cheng <shihuac@amazon.com>
This commit is contained in:
William Cheng
2024-11-01 16:12:08 -07:00
committed by Matt Madison
parent 87a914b530
commit 605e62d288

View File

@@ -14,7 +14,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
do_deploy() {
for dtb in ${KERNEL_DEVICETREE}; do
dtbf="${STAGING_DIR_HOST}/boot/devicetree/$dtb"
if [ -z "$dtbf" ]; then
if [ ! -f "$dtbf" ]; then
bbfatal "Not found: $dtbf"
fi
done