Browse Source
fix: Improve the error message on unsupported image types
Changelog: None
Signed-off-by: Ole Petter <ole.orhagen@northern.tech>
2.1.x
Ole Petter
5 years ago
No known key found for this signature in database
GPG Key ID: A7100375167A7B21
1 changed files with
1 additions and
1 deletions
-
modules/decompressinput.sh
|
|
@ -81,7 +81,7 @@ function decompress_image () { |
|
|
|
xzcat "${input_image}" > "${disk_image}" |
|
|
|
;; |
|
|
|
* ) |
|
|
|
log_fatal "Unsupported input image type: ${input_image}" |
|
|
|
log_fatal "Unsupported input image format: ${input_image}. We support: '.img', '.gz', '.zip', '.xz'." |
|
|
|
;; |
|
|
|
esac |
|
|
|
echo "${disk_image}" |
|
|
|