Skip to content

Commit c4803db

Browse files
xumiaskbarista
authored andcommitted
[Build] Cleanup the version deb preference file after build (sonic-net#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.
1 parent 5713280 commit c4803db

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/sonic-build-hooks/scripts/post_run_buildinfo

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ rm -rf $BUILD_VERSION_PATH/*
1111
# Disable the build hooks
1212
symlink_build_hooks -d
1313
set_reproducible_mirrors -d
14+
15+
# Remove the version deb preference
16+
rm -f $VERSION_DEB_PREFERENCE

0 commit comments

Comments
 (0)