mirror of
https://github.com/Telecominfraproject/ols-nos.git
synced 2025-11-01 18:48:05 +00:00
[build] add support for 2 stage rootfs build (#15924)
This adds optimization for the SONiC image build by splitting the final build step into two stages. It allows running the first stage in parallel, improving build time. The optimization is enabled via new rules/config flag ENABLE_RFS_SPLIT_BUILD (disabled by default) - Why I did it To improve a build time. - How I did it Added a logic to run build_debian.sh in two stages, transferring the progress via a new build artifact. - How to verify it make ENABLE_RFS_SPLIT_BUILD=y SONIC_BUILD_JOBS=32 target/<IMAGE_NAME>.bin Signed-off-by: Yakiv Huryk <yhuryk@nvidia.com>
This commit is contained in:
@@ -143,7 +143,6 @@ SONIC_DBG_DOCKERS += $(2)
|
||||
endef
|
||||
|
||||
|
||||
|
||||
###############################################################################
|
||||
## Utility functions
|
||||
###############################################################################
|
||||
|
||||
Reference in New Issue
Block a user