Add verbosity to the build script and ubuntu-image - for debugging.

ui-by-default-wip
Łukasz 'sil2100' Zemczak 2 years ago
parent 7d93f07d49
commit 24e3f4740d

@ -1,5 +1,5 @@
#! /bin/sh #! /bin/sh
set -e set -ex
export LC_ALL=C export LC_ALL=C
@ -106,7 +106,7 @@ if [ "${IMAGEFORMAT:-}" = "ubuntu-image" ]; then
xz -0 -T4 "$PREFIX".img xz -0 -T4 "$PREFIX".img
mv output/seed.manifest "$PREFIX".manifest mv output/seed.manifest "$PREFIX".manifest
else else
ubuntu-image classic $UBUNTU_IMAGE_ARGS \ ubuntu-image --verbose --debug classic $UBUNTU_IMAGE_ARGS \
-O output "$PREFIX".yaml -O output "$PREFIX".yaml
# Since the output of the ubuntu-image call can vary based on what # Since the output of the ubuntu-image call can vary based on what
# kind of an image we build, the safest bet is to 'export' all the # kind of an image we build, the safest bet is to 'export' all the

Loading…
Cancel
Save