Skip to content

Commit

Permalink
Fix device tree file check in nvidia-kernel-oot-dtb
Browse files Browse the repository at this point in the history
Signed-off-by: William Cheng <[email protected]>
  • Loading branch information
William Cheng authored and madisongh committed Nov 2, 2024
1 parent 7ed5b8b commit 5c5de2f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5c5de2f

Please sign in to comment.