* Reduce SONiC image filesystem size Add a build option to reduce the image size. The image reduction process is affecting the builds in 2 ways: - change some packages that are installed in the rootfs - apply a rootfs reduction script The script itself will perform a few steps: - remove file duplication by leveraging hardlinks - under /usr/share/sonic since the symlinks under the device folder are lost during the build. - under /var/lib/docker since the files there will only be mounted ro - remove some extra files (man, docs, licenses, ...) - some image specific space reduction (only for aboot images currently) The script can later be improved but for now it's reducing the rootfs size by ~30%. * restore fully featured vim package |
||
---|---|---|
.. | ||
j2cli | ||
build_debian_base_system.sh | ||
build_kvm_image.sh | ||
build_mirror_config.sh | ||
build-optimize-fs-size.py | ||
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 | ||
efi-sign.sh | ||
generate_buildinfo_config.sh | ||
populate_file_web_server.py | ||
prepare_debian_image_buildinfo.sh | ||
prepare_docker_buildinfo.sh | ||
prepare_slave_container_buildinfo.sh | ||
process_log.sh | ||
run_with_retry | ||
secure_boot_signature_verification.sh | ||
sign_image_dev.sh | ||
sign_image.sh | ||
signing_kernel_modules.sh | ||
signing_secure_boot_dev.sh | ||
versions_manager.py | ||
wait_for_docker.sh |