summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2025-07-22 15:47:32 +0100
committerGitHub <noreply@github.com>2025-07-22 15:47:32 +0100
commit011ad5bd2f03dd8a73ea4189ffdd87170db581b7 (patch)
treeb60e721a5b43843de34511450b1866ee1cef1da1
parent1155ae7862d8dcee47b671b614719f635d4a6205 (diff)
parent71ade9dce3bfbf9dd8e608eb43ad47896c2045a5 (diff)
downloadvyos-build-011ad5bd2f03dd8a73ea4189ffdd87170db581b7.tar.gz
vyos-build-011ad5bd2f03dd8a73ea4189ffdd87170db581b7.zip
Merge pull request #993 from alexandr-san4ez/T7576-current
T7576: Remove unnecessary code for checking dirty build status
-rwxr-xr-xscripts/image-build/build-vyos-image3
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/image-build/build-vyos-image b/scripts/image-build/build-vyos-image
index 3275c5de..6919b003 100755
--- a/scripts/image-build/build-vyos-image
+++ b/scripts/image-build/build-vyos-image
@@ -409,9 +409,6 @@ if __name__ == "__main__":
repo = git.Repo('.', search_parent_directories=True)
# Retrieve the Git commit ID of the repository, 14 charaters will be sufficient
build_git = repo.head.object.hexsha[:14]
- # If somone played around with the source tree and the build is "dirty", mark it
- if repo.is_dirty():
- build_git += "-dirty"
# Retrieve git branch name or current tag
# Building a tagged release might leave us checking out a git tag that is not the tip of a named branch (detached HEAD)