Skip to content

Commit

Permalink
[Build] Cleanup the version deb preference file after build (sonic-ne…
Browse files Browse the repository at this point in the history
…t#11414)

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 and skbarista committed Aug 17, 2022
1 parent 5713280 commit c4803db
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 c4803db

Please sign in to comment.