mirror of
https://github.com/ipxe/ipxe
synced 2026-01-05 03:10:58 +03:00
[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>
This commit is contained in:
@@ -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
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user