xen/xen.build-compare.seabios.patch

23 lines
732 B
Diff

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.5.0-testing/tools/firmware/seabios-dir-remote/scripts/buildversion.sh
===================================================================
--- xen-4.5.0-testing.orig/tools/firmware/seabios-dir-remote/scripts/buildversion.sh
+++ xen-4.5.0-testing/tools/firmware/seabios-dir-remote/scripts/buildversion.sh
@@ -11,7 +11,12 @@ elif [ -f .version ]; then
else
VERSION="?"
fi
+if test -n "${SEABIOS_DATE}"
+then
+ VERSION="${SEABIOS_DATE}"
+else
VERSION="${VERSION}-`date +"%Y%m%d_%H%M%S"`-`hostname`"
+fi
echo "Version: ${VERSION}"
# Build header file