diff options
author | Bill Richardson <wfrichar@chromium.org> | 2015-03-26 16:29:10 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-03-31 06:28:14 +0000 |
commit | 453ecd19560af8efe3e518ba745dc6e8bfecac90 (patch) | |
tree | b9f9e2f3f59e9a90c69d989cd9c853ec60e1a8b3 /futility/cmd_vbutil_kernel.c | |
parent | 6ea2f72d0356a73915b736a5ef3498ac06a50770 (diff) | |
download | vboot-453ecd19560af8efe3e518ba745dc6e8bfecac90.tar.gz |
futility: add --type arg to show and sign commands
This allows the user to manually specify the type of an input
file, since not all file types can be reliably identified.
This also adds a test to ensure that futility doesn't coredump if
you give it the wrong type (although I'm sure it's not exhaustive).
BUG=chromium:231574
BRANCH=none
TEST=make runtests
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Change-Id: I9d909305d9989fe7299e744c585de380109cf8cd
Reviewed-on: https://chromium-review.googlesource.com/262895
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'futility/cmd_vbutil_kernel.c')
-rw-r--r-- | futility/cmd_vbutil_kernel.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/futility/cmd_vbutil_kernel.c b/futility/cmd_vbutil_kernel.c index 8ddc5ef2..d13749bf 100644 --- a/futility/cmd_vbutil_kernel.c +++ b/futility/cmd_vbutil_kernel.c @@ -24,7 +24,6 @@ #include "futility.h" #include "host_common.h" #include "kernel_blob.h" -#include "traversal.h" #include "vb1_helper.h" static void Fatal(const char *format, ...) |