Commit 33929c93 authored by Martin Michlmayr's avatar Martin Michlmayr

Produce an error when the DTB cannot be found

If a DTB is specified and if the DTB file doesn't exist, we should
produce an error instead of printing the DTB ID and then doing
nothing.  Closes: #833097
parent 5594db5b
......@@ -16,6 +16,7 @@ flash-kernel (3.68) UNRELEASED; urgency=medium
* Handle DTBs in vendor subdirectories (as found on arm64 kernels).
* Add uboot-generic boot script for arm64: based on the armhf version
but with booti.
* Produce an error when the DTB cannot be found. (Closes: #833097)
-- Karsten Merker <> Tue, 05 Jul 2016 15:07:14 +0200
......@@ -620,6 +620,8 @@ handle_dtb() {
# This can be used along with the unversioned
# vmlinuz+initrd.gz e.g. as a fallback option
ln -nfs "dtbs/$kvers/$dtb_name" "/boot/dtb"
error "Couldn't find $dtb"
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment