discover: Add --debug to kexec
authorGeoff Levand <geoff@infradead.org>
Thu, 2 Aug 2018 17:29:34 +0000 (17:29 +0000)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 7 Aug 2018 01:30:36 +0000 (11:30 +1000)
commitfb241b16e49ac2bd5bb14db7bc389bd4a0b1df60
treebc161b83c2425b40646507b3d082d917fdb44ff1
parentc78f9ec47ba92b74698dacdae963dbbefd9b676f
discover: Add --debug to kexec

If verbose logging is enabled then add '--debug' to the kexec command line.
Adds a new routine pb_log_get_debug() that can be used to query the log
debug state.

Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
discover/boot.c
lib/log/log.c
lib/log/log.h