a1d3d99457
#### Why I did it Fix the build failure caused by the installer image size too small. The installer image is only used during the build, not impact the final images. See https://dev.azure.com/mssonic/build/_build/results?buildId=139926&view=logs&j=cef3d8a9-152e-5193-620b-567dc18af272&t=359769c4-8b5e-5976-a793-85da132e0a6f ``` + fallocate -l 2048M ./sonic-installer.img + mkfs.vfat ./sonic-installer.img mkfs.fat 4.2 (2021-01-31) ++ mktemp -d + tmpdir=/tmp/tmp.TqdDSc00Cn + mount -o loop ./sonic-installer.img /tmp/tmp.TqdDSc00Cn + cp target/sonic-vs.bin /tmp/tmp.TqdDSc00Cn/onie-installer.bin cp: error writing '/tmp/tmp.TqdDSc00Cn/onie-installer.bin': No space left on device [ FAIL LOG END ] [ target/sonic-vs.img.gz ] ``` #### How I did it Increase the size from 2048M to 4096M. Why not increase to 16G like qcow2 image? The qcow2 supports the sparse disk, although a big disk size allocated, but it will not consume the real disk size. The falocate does not support the sparse disk. We do not want to allocate a very big disk, but no use at all. It will require more space to build. |
||
---|---|---|
.. | ||
j2cli | ||
build_debian_base_system.sh | ||
build_kvm_image.sh | ||
collect_build_version_files.sh | ||
collect_docker_version_files.sh | ||
collect_host_image_version_files.sh | ||
convert-pfx-cert-format.sh | ||
dbg_files.sh | ||
docker_version_control.sh | ||
generate_buildinfo_config.sh | ||
prepare_debian_image_buildinfo.sh | ||
prepare_docker_buildinfo.sh | ||
prepare_slave_container_buildinfo.sh | ||
process_log.sh | ||
sign_image.sh | ||
versions_manager.py | ||
wait_for_docker.sh |