Source-Changes-HG archive

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

[src/netbsd-8]: src/distrib Pull up following revision(s) (requested by tsuts...



details:   https://anonhg.NetBSD.org/src/rev/7cbcaf340c17
branches:  netbsd-8
changeset: 984175:7cbcaf340c17
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Jun 25 19:13:20 2021 +0000

description:
Pull up following revision(s) (requested by tsutsui in ticket #1686):

        distrib/sun3/miniroot/Makefile: revision 1.50
        distrib/miniroot/install.sub: revision 1.61
        distrib/miniroot/install.sub: revision 1.62 (patch)
        distrib/sun2/miniroot/Makefile: revision 1.40

Replace RELEASE and VERSION strings proplery.
sun2 and sun3 don't use MI src/distrib/miniroot/list so this should
have been sync'ed with it.

http://cvsweb.netbsd.org/bsdweb.cgi/src/distrib/miniroot/list#rev1.36
> Use proper release version strings ("9.1" rather than "91") in banners.
>
> Also define and use "MACHINE" variable to describe port names
> (no uname(1) or sysctl(8) in miniroot binary list by default).

Should be pulled up to netbsd-9.

Remove netstat(1) calls to print resolver info on upgrade using miniroot.
netstat(1) was removed from miniroot 25 years ago.
 http://cvsweb.netbsd.org/bsdweb.cgi/src/distrib/miniroot/list#rev1.5

The modules and rescue sets are also required on upgrade.
Should be pulled up to netbsd-9 and netbsd-8.

diffstat:

 distrib/miniroot/install.sub   |  8 ++------
 distrib/sun2/miniroot/Makefile |  6 ++++--
 distrib/sun3/miniroot/Makefile |  6 ++++--
 3 files changed, 10 insertions(+), 10 deletions(-)

diffs (72 lines):

diff -r cb33c3a515a4 -r 7cbcaf340c17 distrib/miniroot/install.sub
--- a/distrib/miniroot/install.sub      Mon Jun 21 17:46:13 2021 +0000
+++ b/distrib/miniroot/install.sub      Fri Jun 25 19:13:20 2021 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-#      $NetBSD: install.sub,v 1.45.56.3 2021/06/05 10:41:20 martin Exp $
+#      $NetBSD: install.sub,v 1.45.56.4 2021/06/25 19:13:20 martin Exp $
 #
 # Copyright (c) 1996 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -40,7 +40,7 @@
 export RELEASE
 
 ALLSETS="base comp etc games man misc modules text"    # default install sets
-UPGRSETS="base comp games man misc text"       # default upgrade sets
+UPGRSETS="base comp games man misc modules text"       # default upgrade sets
 THESETS=                                       # one of the above
 
 local_sets_dir=""                      # Path searched for sets by install_sets
@@ -606,12 +606,8 @@
        echo    ""
 
        if [ "${_resolver_enabled:-FALSE}" = "TRUE" ]; then
-               netstat -r
-               echo    ""
                echo    "Resolver enabled."
        else
-               netstat -rn
-               echo    ""
                echo    "Resolver not enabled."
        fi
 
diff -r cb33c3a515a4 -r 7cbcaf340c17 distrib/sun2/miniroot/Makefile
--- a/distrib/sun2/miniroot/Makefile    Mon Jun 21 17:46:13 2021 +0000
+++ b/distrib/sun2/miniroot/Makefile    Fri Jun 25 19:13:20 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.36 2017/01/24 18:04:05 christos Exp $
+#      $NetBSD: Makefile,v 1.36.4.1 2021/06/25 19:13:20 martin Exp $
 
 .include <bsd.own.mk>
 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -50,7 +50,9 @@
 ${CRUNCHBIN}:  libhack.o
 
 install.sub: ${DISTRIBDIR}/miniroot/install.sub
-       ${TOOL_SED} -e "/^VERSION=/s/=.*/=${DISTRIBREV}/" < $? > $@
+       ${TOOL_SED} -e "/^VERSION=/s/=.*/=${DISTRIBREV}/" \
+                   -e "/^RELEASE=/s/=.*/=${DISTRIBVER}/" \
+                   -e "/^MACHINE=/s/=.*/=${MACHINE}/" < $? > $@
 
 CLEANFILES+= install.sub
 
diff -r cb33c3a515a4 -r 7cbcaf340c17 distrib/sun3/miniroot/Makefile
--- a/distrib/sun3/miniroot/Makefile    Mon Jun 21 17:46:13 2021 +0000
+++ b/distrib/sun3/miniroot/Makefile    Fri Jun 25 19:13:20 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.46 2017/01/24 18:04:05 christos Exp $
+#      $NetBSD: Makefile,v 1.46.4.1 2021/06/25 19:13:20 martin Exp $
 
 .include <bsd.own.mk>
 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -50,7 +50,9 @@
 ${CRUNCHBIN}:  libhack.o
 
 install.sub: ${DISTRIBDIR}/miniroot/install.sub
-       ${TOOL_SED} -e "/^VERSION=/s/=.*/=${DISTRIBREV}/" < $? > $@
+       ${TOOL_SED} -e "/^VERSION=/s/=.*/=${DISTRIBREV}/" \
+                   -e "/^RELEASE=/s/=.*/=${DISTRIBVER}/" \
+                   -e "/^MACHINE=/s/=.*/=${MACHINE}/" < $? > $@
 
 CLEANFILES+= install.sub
 



Home | Main Index | Thread Index | Old Index