add BUILDINFO file. currently contains a timestamp. ok deraadt
authortedu <tedu@openbsd.org>
Fri, 23 Oct 2015 06:42:53 +0000 (06:42 +0000)
committertedu <tedu@openbsd.org>
Fri, 23 Oct 2015 06:42:53 +0000 (06:42 +0000)
etc/Makefile

index 691116a..39f36a3 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: Makefile,v 1.411 2015/10/19 19:08:44 schwarze Exp $
+#      $OpenBSD: Makefile,v 1.412 2015/10/23 06:42:53 tedu Exp $
 
 TZDIR=         /usr/share/zoneinfo
 LOCALTIME=     Canada/Mountain
@@ -251,7 +251,8 @@ release-sets:
 
 sha:
        -cd ${RELEASEDIR}; \
-           cksum -a sha256 INSTALL.`arch -ks` \
+           date -u "+Build date: %s - %+" > BUILDINFO; \
+           cksum -a sha256 BUILDINFO INSTALL.`arch -ks` \
            ${ALL_KERNELS} ${MDEXT} ${MISETS} | sort > SHA256
 
 release: sha