diff options
author | Michael Brown <mcb30@ipxe.org> | 2021-01-31 00:30:10 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2021-01-31 00:30:10 +0000 |
commit | 3a2411b43f840f11f667a22d061d01826f75f818 (patch) | |
tree | e67f0ffcb875815a882764f618881e78e9c8d356 /src | |
parent | 82dbca4938704d543d8b7b215708a416b51dbf9d (diff) | |
download | ipxe-3a2411b43f840f11f667a22d061d01826f75f818.tar.gz |
[build] Avoid using sha1sum when calculating build ID
The sha1sum command may not be available on all systems. Use the
POSIX-confirming cksum instead.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.housekeeping | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping index 25abe5712..e91307023 100644 --- a/src/Makefile.housekeeping +++ b/src/Makefile.housekeeping @@ -1176,7 +1176,7 @@ blib : $(BLIB) # different builds (such as builds for multiple ROMs all built from # the same blib.a). # -BUILD_ID_CMD = sha1sum $^ | sort | cksum | awk '{printf "0x%08x", $$1}' +BUILD_ID_CMD = cat $^ | cksum | awk '{printf "0x%08x", $$1}' # Build timestamp # |