Module Name:    src
Committed By:   apb
Date:           Sun Aug  3 09:24:08 UTC 2014

Modified Files:
        src/doc: BUILDING.mdoc

Log Message:
BUILDINFO part 5: Document BUILDINFO in doc/BUILDING.mdoc.


To generate a diff of this commit:
cvs rdiff -u -r1.100 -r1.101 src/doc/BUILDING.mdoc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/doc/BUILDING.mdoc
diff -u src/doc/BUILDING.mdoc:1.100 src/doc/BUILDING.mdoc:1.101
--- src/doc/BUILDING.mdoc:1.100	Sat Jun 14 12:20:17 2014
+++ src/doc/BUILDING.mdoc	Sun Aug  3 09:24:08 2014
@@ -1,4 +1,4 @@
-.\"	$NetBSD: BUILDING.mdoc,v 1.100 2014/06/14 12:20:17 apb Exp $
+.\"	$NetBSD: BUILDING.mdoc,v 1.101 2014/08/03 09:24:08 apb Exp $
 .\"
 .\" Copyright (c) 2001-2011 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -351,6 +351,25 @@ which can be printed by
 .Dq Li uname \-v .
 .DFLTu
 .
+.It Sy BUILDINFO
+This may be a multi-line string containing information about the build.
+This will appear in
+.Sy DESTDIR Ns Pa /etc/release ,
+and it will be stored in the
+.Va buildinfo
+variable in any kernels that are built.
+When such kernels are booted, the
+.Xr sysctl 7
+.Va kern.buildinfo
+variable will report this value.
+The string may contain backslash escape sequences, such as
+.Dq "\e\e"
+(representing a backslash character)
+and
+.Dq "\en"
+(representing a newline).
+.DFLTu
+.
 .It Sy BUILDSEED
 GCC uses random numbers when compiling C++ code.
 This variable seeds the gcc random number generator using

Reply via email to