You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are trying to reduce the time to build sonic image/target by using pre built deb packages.
Right now it is rebuilding deb packages even though they are present in /target/deb/bookworm path after copying from another build directory.
We are trying reduce the time taken by each developer for the build. Any suggestion is appreciated
The text was updated successfully, but these errors were encountered:
Puneet1726
changed the title
Copying target folder to new sonic build image path and try to build vs image
Rebuilding deb packages after copying the target folder to new sonic build image path and try to build vs image
Nov 27, 2024
Puneet1726
changed the title
Rebuilding deb packages after copying the target folder to new sonic build image path and try to build vs image
make target is recreating deb packages even though they are present in the target folder
Nov 28, 2024
@Puneet1726, could you check the design document for sonic build and see if there are any improvements that could help in this case? Could you also confirm if you see the same problem if you do a rebuild after at least one initial build (after cloning)?
@prabhataravind : with SONIC_DPKG_CACHE_METHOD=rwcache target/docker-sonic-mgmt-framework.gz, I am able to reduce the inital build time but it takes around 15mins for sonic mgmt framework build for the first time after copying the prebuilt artifacts (copy full target folder).
Can we reduce it to 5mins? Do I need to copy any other folder/artifacts to achieve that from pre built path?
This problem is for initial build and it is fine after first build
Description
Steps to reproduce the issue:
Describe the results you received:
It is rebuilding deb packages even though they are already present in the target folder
Describe the results you expected:
It should just rebuild the docker gz file and should not rebuild the deb packages
Output of
show version
:Output of
show techsupport
:We are trying to reduce the time to build sonic image/target by using pre built deb packages.
Right now it is rebuilding deb packages even though they are present in /target/deb/bookworm path after copying from another build directory.
We are trying reduce the time taken by each developer for the build. Any suggestion is appreciated
The text was updated successfully, but these errors were encountered: