Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc Print BUILDID near the top of /etc/release.
details: https://anonhg.NetBSD.org/src/rev/b81fac1528d2
branches: trunk
changeset: 329937:b81fac1528d2
user: apb <apb%NetBSD.org@localhost>
date: Sat Jun 14 12:26:26 2014 +0000
description:
Print BUILDID near the top of /etc/release.
diffstat:
etc/Makefile | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r c021ece20ddd -r b81fac1528d2 etc/Makefile
--- a/etc/Makefile Sat Jun 14 12:25:00 2014 +0000
+++ b/etc/Makefile Sat Jun 14 12:26:26 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.413 2014/05/05 19:10:00 martin Exp $
+# $NetBSD: Makefile,v 1.414 2014/06/14 12:26:26 apb Exp $
# from: @(#)Makefile 8.7 (Berkeley) 5/25/95
# Environment variables without default values:
@@ -196,6 +196,9 @@
echo "Build settings:"; \
printf "%20s %s\n" "Build date" "$$(date -u)"; \
printf "%20s %s\n" "Built by" "$${USER-root}@$$(hostname)"; \
+ if [ -n "${BUILDID}" ]; then \
+ printf "%20s %s\n" "Build ID:" "${BUILDID}" ; \
+ fi ; \
echo ; \
${PRINT_PARAMS} ; \
) >${.OBJDIR}/${.TARGET}
Home |
Main Index |
Thread Index |
Old Index