Skip to content

Commit

Permalink
[Build] Clean up the debian preference config file (#13885)
Browse files Browse the repository at this point in the history
Why I did it
Support to upgrade packages, do better cleanup after the build.

How I did it
Remove the no use preference version control file after the build.

How to verify it
  • Loading branch information
xumia authored Feb 21, 2023
1 parent cac95c2 commit b349051
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sonic-build-hooks/scripts/post_run_cleanup
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ set_reproducible_mirrors -d

# Remove the version deb preference
rm -f $VERSION_DEB_PREFERENCE
rm -f /etc/apt/preferences.d/01-versions-deb

0 comments on commit b349051

Please sign in to comment.