[ovs-dev] [PATCH v2] automake.mk: Improve schema checksum error message.

Billy O'Mahony billy.o.mahony at intel.com
Wed Mar 18 17:09:06 UTC 2015


Signed-off-by: Mark D. Gray <mark.d.gray at intel.com>
Signed-off-by: Billy O'Mahony <billy.o.mahony at intel.com>
---
 vswitchd/automake.mk |    2 +-
 vtep/automake.mk     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/vswitchd/automake.mk b/vswitchd/automake.mk
index 2f07c0f..81f201a 100644
--- a/vswitchd/automake.mk
+++ b/vswitchd/automake.mk
@@ -63,7 +63,7 @@ vswitchd/vswitch.ovsschema.stamp: vswitchd/vswitch.ovsschema
 	  touch $@; \
 	else \
 	  ln=`sed -n '/"cksum":/=' $?`; \
-	  echo >&2 "$?:$$ln: checksum \"$$sum\" does not match (you should probably update the version number and fix the checksum)"; \
+	  echo >&2 "$?:$$ln: The checksum \"$$sum\" was calculated from the schema file and does not match cksum field in the schema file - you should probably update the version number and the checksum in the schema file with the value listed here."; \
 	  exit 1; \
 	fi
 CLEANFILES += vswitchd/vswitch.ovsschema.stamp
diff --git a/vtep/automake.mk b/vtep/automake.mk
index 184d85f..c712b0c 100644
--- a/vtep/automake.mk
+++ b/vtep/automake.mk
@@ -87,7 +87,7 @@ vtep/vtep.ovsschema.stamp: vtep/vtep.ovsschema
 	  touch $@; \
 	else \
 	  ln=`sed -n '/"cksum":/=' $?`; \
-	  echo >&2 "$?:$$ln: checksum \"$$sum\" does not match (you should probably update the version number and fix the checksum)"; \
+	  echo >&2 "$?:$$ln: The checksum \"$$sum\" was calculated from the schema file and does not match cksum field in the schema file - you should probably update the version number and the checksum in the schema file with the value listed here."; \
 	  exit 1; \
 	fi
 CLEANFILES += vtep/vtep.ovsschema.stamp
-- 
1.7.4.1




More information about the dev mailing list