CVS commit: src/distrib/atari/floppies/common

2022-08-20 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Aug 20 20:50:41 UTC 2022

Modified Files:
src/distrib/atari/floppies/common: dot.profile

Log Message:
Fix yet another "[: SMALL test, no fallback usage" error on installation.

The same problem as PR/54835 of the miniroot scripts, i.e.
avoid and replace use of -o binary primary marked obsolescent
by POSIX.1-2017:
 https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html#tag_20_12
8_16

Noticed on installation of NetBSD 9.3 on TT030, and
maybe should be pulled up to netbsd-9.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/distrib/atari/floppies/common/dot.profile

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

Modified files:

Index: src/distrib/atari/floppies/common/dot.profile
diff -u src/distrib/atari/floppies/common/dot.profile:1.8 src/distrib/atari/floppies/common/dot.profile:1.9
--- src/distrib/atari/floppies/common/dot.profile:1.8	Thu Jan  9 19:17:41 2020
+++ src/distrib/atari/floppies/common/dot.profile	Sat Aug 20 20:50:41 2022
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.8 2020/01/09 19:17:41 martin Exp $
+# $NetBSD: dot.profile,v 1.9 2022/08/20 20:50:41 tsutsui Exp $
 #
 # Copyright (c) 1995 Jason R. Thorpe
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -95,7 +95,7 @@ if [ "X${DONEPROFILE}" = "X" ]; then
 		# Check if the answer is valid (in range). Note that an answer
 		# < 0 cannot happen because the sed(1) above also removes the
 		# sign.
-		if [ -z "$_ans" -o "$_ans" -ge $_num ]; then
+		if [ -z "$_ans" ] || [ "$_ans" -ge $_num ]; then
 		echo "You entered an invalid response, please try again."
 		continue
 		fi



CVS commit: src/distrib/atari/floppies/common

2022-08-20 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Aug 20 20:50:41 UTC 2022

Modified Files:
src/distrib/atari/floppies/common: dot.profile

Log Message:
Fix yet another "[: SMALL test, no fallback usage" error on installation.

The same problem as PR/54835 of the miniroot scripts, i.e.
avoid and replace use of -o binary primary marked obsolescent
by POSIX.1-2017:
 https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html#tag_20_12
8_16

Noticed on installation of NetBSD 9.3 on TT030, and
maybe should be pulled up to netbsd-9.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/distrib/atari/floppies/common/dot.profile

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



CVS commit: src/distrib/atari/floppies/common

2019-06-22 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jun 22 23:42:44 UTC 2019

Modified Files:
src/distrib/atari/floppies/common: Makefile.images

Log Message:
More fat trimming defines and we managed to feat in our tight jeans.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/distrib/atari/floppies/common/Makefile.images

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

Modified files:

Index: src/distrib/atari/floppies/common/Makefile.images
diff -u src/distrib/atari/floppies/common/Makefile.images:1.11 src/distrib/atari/floppies/common/Makefile.images:1.12
--- src/distrib/atari/floppies/common/Makefile.images:1.11	Sat Jan 30 00:15:18 2016
+++ src/distrib/atari/floppies/common/Makefile.images	Sat Jun 22 19:42:44 2019
@@ -1,13 +1,17 @@
-#	$NetBSD: Makefile.images,v 1.11 2016/01/30 05:15:18 tsutsui Exp $
+#	$NetBSD: Makefile.images,v 1.12 2019/06/22 23:42:44 christos Exp $
 
+NOSSP=yes
 .include 
 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
 
 .include 
 
 WARNS=		1
-DBG=		-Os -m68020-60	# -m68020-60 seems to generate smaller binaries
+DBG=		-Os #-m68020-60	# -m68020-60 seems to generate smaller binaries
+# but not for gcc-7
 DBG+=		-DNDEBUG	# to remove assert(3) macro
+DBG+=		-D_PTHREADS	# to remove putc
+DBG+=		-DNO_PROGRESS	# to remove ftp's progress
 
 CRUNCHBIN=	instbin
 LISTS=		${.CURDIR}/list ${.CURDIR}/../common/list.images



CVS commit: src/distrib/atari/floppies/common

2019-06-22 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jun 22 23:42:44 UTC 2019

Modified Files:
src/distrib/atari/floppies/common: Makefile.images

Log Message:
More fat trimming defines and we managed to feat in our tight jeans.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/distrib/atari/floppies/common/Makefile.images

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



re: CVS commit: src/distrib/atari/floppies/common

2014-11-16 Thread matthew green

Izumi Tsutsui writes:
 Module Name:  src
 Committed By: tsutsui
 Date: Sun Nov 16 11:54:29 UTC 2014
 
 Modified Files:
   src/distrib/atari/floppies/common: Makefile.images
 
 Log Message:
 Use -Os -m68020-60 for DBG. It seems to generate smaller objects than -Os.
 
 gcc48 with -Os:
 -rwxr-xr-x  1 tsutsui  wheel  1319596 Nov 16 20:50 obj.atari/instbin
 
 gcc48 with -Os -m68020-60
 -rwxr-xr-x  1 tsutsui  wheel  1314516 Nov 16 20:49 obj.atari/instbin
 
 This allows ever growing sysinst.fs still fit into 1440KB even with gcc48.
 Acually we need a real solution (ustarfs based floppies etc.) soon
 but we can work around at least for NetBSD 7.0.
 
 Should be pulled up to netbsd-7 (if NetBSD/m68k 7.0 will switch to gcc48).

it might be nice to pull up anyway, so people can choose to use
netbsd-7 in their own builds? :-)


.mrg.


CVS commit: src/distrib/atari/floppies/common

2010-02-21 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun Feb 21 20:06:19 UTC 2010

Modified Files:
src/distrib/atari/floppies/common: Makefile.images

Log Message:
- explicitly specify -Os via DBG for libhack build
- set WARNS=1 for sanity


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/distrib/atari/floppies/common/Makefile.images

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