Skip to content

Commit

Permalink
[Build] Cleanup the version deb preference file after build (#11414)
Browse files Browse the repository at this point in the history
Why I did it
Cleanup the version deb preference file after build.
The version file is no use after build.

How I did it
Remove the no use version file.
  • Loading branch information
xumia authored Jul 12, 2022
1 parent 849eb4b commit 9056232
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/sonic-build-hooks/scripts/post_run_buildinfo
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ rm -rf $BUILD_VERSION_PATH/*
# Disable the build hooks
symlink_build_hooks -d
set_reproducible_mirrors -d

# Remove the version deb preference
rm -f $VERSION_DEB_PREFERENCE

0 comments on commit 9056232

Please sign in to comment.