switch to md5sum for buildid
authorJoey Hess <joeyh@joeyh.name>
Mon, 5 Oct 2020 17:45:27 +0000 (13:45 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 5 Oct 2020 17:45:27 +0000 (13:45 -0400)
This does not need to be cryptogrphically secure, and a little shorter
will be better when using the buildid in a path in subsequent changes.

Makefile

index 9238a0a600c1720bdae8d412839d09d971dc70ad..d7ede6b4a968815aec64997356b6f9cdcedff7db 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -176,7 +176,7 @@ linuxstandalone:
        cp doc/logo_16x16.png doc/logo.svg $(LINUXSTANDALONE_DEST)
        cp standalone/trustedkeys.gpg $(LINUXSTANDALONE_DEST)
 
-       sha1sum git-annex > "$(LINUXSTANDALONE_DEST)/buildid"
+       md5sum git-annex > "$(LINUXSTANDALONE_DEST)/buildid"
        cd tmp/git-annex.linux && find . -type f > git-annex.MANIFEST
        cd tmp/git-annex.linux && find . -type l >> git-annex.MANIFEST
        cd tmp && tar c git-annex.linux | gzip -9 --rsyncable > git-annex-standalone-$(shell dpkg --print-architecture).tar.gz