Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure new binaries replace existing binaries in docker-sonic-vs (#…
…807) PR #716 removed a step where existing deb packages were removed before installing the new deb packages. The problem is that due to Docker's change detection code, where it only checks the file size and the modification timestamp, even if the file gets modified when installing a newer debian package, the file size may remain the same, and the modification timestamp will remain the same (since this is based on the debian/changelog timestamp). This caused changed binaries to not actually replace the existing binaries. Fix this by re-adding the line that removed existing packages first.
- Loading branch information