Commit 02870150 authored by Uwe Kleine-König's avatar Uwe Kleine-König
Browse files

Fix debug logging code to not fail silently.

Fixes: 808a0457 ("Log some debug if either the kernel or the initrd is missing.")
parent 710e4d34
......@@ -2,6 +2,7 @@ flash-kernel (3.100) UNRELEASED; urgency=medium
[ Uwe Kleine-König ]
* Add support for bootspec entries (bootable by barebox). (Closes: #931953)
* Fix a corner case that makes flash-kernel fail silently. (Closes: #932231)
[ Guido Günther ]
* Add support for Librem 5 devkit (Closes: #927700)
......
......@@ -764,7 +764,7 @@ if [ ! -e $kfile ] || [ ! -e $ifile ]; then
set -x
ls -l $kfile*
ls -l $ifile*
) >> /tmp/flash-kernel-no-kernel-error.log 2>&1
) >> /tmp/flash-kernel-no-kernel-error.log 2>&1 || :
error "Can't find $kfile or $ifile (see /tmp/flash-kernel-no-kernel-error.log)"
fi
kfilesize=$(stat -c '%s' "$kfile")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment