mirror of https://github.com/ipxe/ipxe.git
[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>pull/242/head
parent
82dbca4938
commit
3a2411b43f
|
@ -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
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue