Skip to content

Commit 9056232

Browse files
authored
[Build] Cleanup the version deb preference file after build (#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 849eb4b commit 9056232

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/sonic-build-hooks/scripts/post_run_buildinfo

+3
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)