flatcar-scripts/build_library
Mike Frysinger 15a884825a build_image: dump debug info when target image is full
When we run out of space in the target image, it can be unclear that this
is the actual issue.  Detect this case and issue an appropriate warning,
and dump disk usage to help people triage things.

BUG=chromium-os:34167
TEST=`./build_image --board=amd64-generic` passed normally
TEST=`./build_image --board=amd64-generic factory_install` triggered the out-of-space check

Change-Id: I3052892a8c8bc386c7f08e1df26432eea2285563
Reviewed-on: https://gerrit.chromium.org/gerrit/32250
Reviewed-by: Peter Mayo <petermayo@chromium.org>
Reviewed-by: Brian Harring <ferringb@chromium.org>
Commit-Ready: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
2012-09-05 18:32:27 -07:00
..
base_image_util.sh build_image: dump debug info when target image is full 2012-09-05 18:32:27 -07:00
board_options.sh Remove --build_root from all scripts except mod_image_for_pyauto.sh. 2012-03-15 18:55:26 -07:00
build_common.sh setup DEFAULT_BOARD by default 2012-08-14 10:17:31 -07:00
build_gpt.sh Add a flag to build_image that provisions both root partitions 2012-07-16 20:52:01 -07:00
build_image_util.sh common.sh: output a backtrace and debug information on failure. 2012-05-07 17:19:41 -07:00
check_deps check_deps: dynamically insert native multilib path 2011-10-03 07:42:29 -07:00
chromeos_blacklist Isolate scripts and files that are used only in build_image 2011-07-27 08:46:01 -07:00
create_legacy_bootloader_templates.sh common.sh: output a backtrace and debug information on failure. 2012-05-07 17:19:41 -07:00
dev_image_util.sh build_image: use pbzip2 on glibc debug info 2012-06-27 19:17:10 -07:00
generate_au_zip.py Fix delta generation to work with updated glibc version. 2012-07-15 16:23:23 -07:00
mount_gpt_util.sh Create a function library for mounting/unmounting images. 2011-08-23 13:39:03 -07:00
test_build_root test_build_root: convert to arrays 2012-08-14 13:38:33 -07:00
test_image_content.sh build: Test /etc/localtime symlink in built images. 2012-03-30 13:01:26 -07:00
test_image_util.sh Move chromeos-factory into mod_image_for_test 2012-08-28 13:38:19 -07:00