automake.mk: Improve schema checksum error message.
authorMark D. Gray <mark.d.gray@intel.com>
Wed, 18 Mar 2015 17:09:06 +0000 (17:09 +0000)
committerBen Pfaff <blp@nicira.com>
Thu, 19 Mar 2015 13:38:00 +0000 (06:38 -0700)
Signed-off-by: Mark D. Gray <mark.d.gray@intel.com>
Signed-off-by: Billy O'Mahony <billy.o.mahony@intel.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
vswitchd/automake.mk
vtep/automake.mk

index 2f07c0f..81f201a 100644 (file)
@@ -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
index 184d85f..c712b0c 100644 (file)
@@ -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