sonic-buildimage/files
Samuel Angebault e4a497183a
Add build option to reduce final image size (#16729)
* 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
2023-10-24 10:01:58 +08:00
..
Aboot Disable CPU C-States other than C1 (#16703) 2023-10-13 20:24:39 -07:00
apparmor [tacacs]: Fix tcpdump report error when tacacs enabled (#16372) 2023-09-23 00:07:53 -07:00
apt Improve remote fetch (#12795) 2023-09-23 18:07:04 -07:00
build/versions [ci/build]: Upgrade SONiC package versions 2023-09-26 12:32:31 +08:00
build_scripts During build time mask only those feature/services that are disabled excplicitly (#13283) 2023-01-07 02:36:37 +00:00
build_templates Add build option to reduce final image size (#16729) 2023-10-24 10:01:58 +08:00
dhcp Assign the higher metric value for Ipv6 default route learnt via RA message (#16367) 2023-09-01 11:38:14 -07:00
docker [dockerd] Force usage of cgo DNS resolver (#13649) 2023-02-14 08:57:19 +02:00
image_config [k8master]: Install nc cmd for k8s master network issue debug (#16745) 2023-09-30 01:16:51 -07:00
initramfs-tools [arm64][Nokia-7215-A1]Add support for Nokia-7215-A1 platform (#13795) 2023-05-18 14:24:05 -07:00
scripts Add use_unix_socket_path to supervisor-proc-exit-listener (#16548) 2023-09-15 16:23:25 -07:00
sshd Remove SSH host keys after installing the custom version of sshd (#10633) 2022-04-25 10:38:52 -07:00