Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Document NETBSD_OFFICIAL_RELEASE and add it to /etc/release ...



details:   https://anonhg.NetBSD.org/src/rev/5e8e457c20a0
branches:  trunk
changeset: 846557:5e8e457c20a0
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Nov 22 13:30:19 2019 +0000

description:
Document NETBSD_OFFICIAL_RELEASE and add it to /etc/release - it is
important information when trying to reproduce a build.

diffstat:

 etc/Makefile.params |   4 ++--
 share/mk/bsd.README |  12 +++++++++++-
 2 files changed, 13 insertions(+), 3 deletions(-)

diffs (44 lines):

diff -r c0e462c9651a -r 5e8e457c20a0 etc/Makefile.params
--- a/etc/Makefile.params       Fri Nov 22 12:40:07 2019 +0000
+++ b/etc/Makefile.params       Fri Nov 22 13:30:19 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.params,v 1.20 2018/07/10 13:22:22 martin Exp $
+#      $NetBSD: Makefile.params,v 1.21 2019/11/22 13:30:19 martin Exp $
 #
 # Makefile fragment for printing build parameters.
 #
@@ -40,7 +40,7 @@
 RELEASEVARS=   DISTRIBVER EXTERNAL_TOOLCHAIN HAVE_GCC HAVE_GDB \
                HAVE_LLVM HAVE_PCC INSTALLWORLDDIR \
                MACHINE MACHINE_ARCH \
-               NOCLEANDIR NODISTRIBDIRS NOINCLUDES \
+               NETBSD_OFFICIAL_RELEASE NOCLEANDIR NODISTRIBDIRS NOINCLUDES \
                TOOLCHAIN_MISSING \
                USE_HESIOD USE_INET6 USE_JEMALLOC USE_KERBEROS USE_LDAP \
                USE_PAM USE_SKEY USE_YP \
diff -r c0e462c9651a -r 5e8e457c20a0 share/mk/bsd.README
--- a/share/mk/bsd.README       Fri Nov 22 12:40:07 2019 +0000
+++ b/share/mk/bsd.README       Fri Nov 22 13:30:19 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.README,v 1.396 2019/11/18 16:09:21 christos Exp $
+#      $NetBSD: bsd.README,v 1.397 2019/11/22 13:30:19 martin Exp $
 #      @(#)bsd.README  8.2 (Berkeley) 4/2/94
 
 This is the README file for the make "include" files for the NetBSD
@@ -152,6 +152,16 @@
                during build.
                Default: no
 
+NETBSD_OFFICIAL_RELEASE
+               If defined and set to "yes", the build targets an official
+               NetBSD release which is going to be available from
+               ftp.NetBSD.org / cdn.NetBSD.org. This modifies a few
+               default paths in the installer and also creates different
+               links in the install documentation.
+               The auto-build cluster uses this variable to distinguish
+               "daily" builds from real releases.
+               Default: undefined (no)
+
 NOCTF          Don't generate and manipulate CTF data of ELF binaries
                during build. It is set internally for standalone programs.
 



Home | Main Index | Thread Index | Old Index