Use stable strings to reduce build-compare noise.
---
tools/firmware/seabios-dir-remote/tools/buildversion.sh | 5 +++++
1 file changed, 5 insertions(+)
Index: xen-4.6.0-testing/tools/firmware/seabios-dir-remote/scripts/buildversion.sh
===================================================================
--- xen-4.6.0-testing.orig/tools/firmware/seabios-dir-remote/scripts/buildversion.sh
+++ xen-4.6.0-testing/tools/firmware/seabios-dir-remote/scripts/buildversion.sh
@@ -12,7 +12,12 @@ if [ -z "$BUILD_VERSION" ]; then
else
VERSION="?"
fi
- VERSION="${VERSION}-`date +"%Y%m%d_%H%M%S"`-`hostname`"
+ if test -n "${SEABIOS_DATE}"
+ then
+ VERSION="${SEABIOS_DATE}"
+ else
+ VERSION="${VERSION}-`date +"%Y%m%d_%H%M%S"`-`hostname`"
+ fi
VERSION="$BUILD_VERSION"