Module Name:    src
Committed By:   tsutsui
Date:           Fri Jun 18 23:55:20 UTC 2021

Modified Files:
        src/distrib/sun2/miniroot: Makefile
        src/distrib/sun3/miniroot: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/distrib/sun2/miniroot/Makefile
cvs rdiff -u -r1.49 -r1.50 src/distrib/sun3/miniroot/Makefile

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

Modified files:

Index: src/distrib/sun2/miniroot/Makefile
diff -u src/distrib/sun2/miniroot/Makefile:1.39 src/distrib/sun2/miniroot/Makefile:1.40
--- src/distrib/sun2/miniroot/Makefile:1.39	Mon Mar  1 09:24:27 2021
+++ src/distrib/sun2/miniroot/Makefile	Fri Jun 18 23:55:20 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.39 2021/03/01 09:24:27 martin Exp $
+#	$NetBSD: Makefile,v 1.40 2021/06/18 23:55:20 tsutsui Exp $
 
 .include <bsd.own.mk>
 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -57,7 +57,9 @@ HACKSRC=	${DISTRIBDIR}/utils/libhack
 ${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
 

Index: src/distrib/sun3/miniroot/Makefile
diff -u src/distrib/sun3/miniroot/Makefile:1.49 src/distrib/sun3/miniroot/Makefile:1.50
--- src/distrib/sun3/miniroot/Makefile:1.49	Sun Dec 29 18:26:19 2019
+++ src/distrib/sun3/miniroot/Makefile	Fri Jun 18 23:55:20 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.49 2019/12/29 18:26:19 christos Exp $
+#	$NetBSD: Makefile,v 1.50 2021/06/18 23:55:20 tsutsui Exp $
 
 .include <bsd.own.mk>
 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -52,7 +52,9 @@ HACK_CURSES=yes
 ${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
 

Reply via email to