Skip to content

Commit 0d206ce

Browse files
author
Rostyslav Spolyak
committed
temporary remove 'git status' check from build_image.sh
1 parent 3758f4a commit 0d206ce

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build_image.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
}
1414

1515
## Retrieval short version of Git revision hash for partition metadata
16-
[ -z "$(git status --untracked-files=no -s)" ] || {
17-
echo "Error: There is local changes not committed to git repo. Cannot get a revision hash for partition metadata."
18-
exit 1
19-
}
16+
#[ -z "$(git status --untracked-files=no -s)" ] || {
17+
# echo "Error: There is local changes not committed to git repo. Cannot get a revision hash for partition metadata."
18+
# exit 1
19+
#}
2020
GIT_REVISION=$(git rev-parse --short HEAD)
2121

2222
mkdir -p `dirname $OUTPUT_ONIE_IMAGE`

0 commit comments

Comments
 (0)