From: Michael Brown Date: Sun, 31 Jan 2021 00:30:10 +0000 (+0000) Subject: [build] Avoid using sha1sum when calculating build ID X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a2411b43f840f11f667a22d061d01826f75f818;p=thirdparty%2Fipxe.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 --- 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 #