CVS commit: src/distrib/vax/cdroms/installcd

2024-05-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed May 15 16:31:36 UTC 2024

Modified Files:
src/distrib/vax/cdroms/installcd: Makefile
Added Files:
src/distrib/vax/cdroms/installcd: spec.in

Log Message:
Add missing stuff for vax


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/distrib/vax/cdroms/installcd/Makefile
cvs rdiff -u -r0 -r1.1 src/distrib/vax/cdroms/installcd/spec.in

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

Modified files:

Index: src/distrib/vax/cdroms/installcd/Makefile
diff -u src/distrib/vax/cdroms/installcd/Makefile:1.19 src/distrib/vax/cdroms/installcd/Makefile:1.20
--- src/distrib/vax/cdroms/installcd/Makefile:1.19	Fri Dec 20 14:46:51 2019
+++ src/distrib/vax/cdroms/installcd/Makefile	Wed May 15 12:31:35 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.19 2019/12/20 19:46:51 martin Exp $
+#	$NetBSD: Makefile,v 1.20 2024/05/15 16:31:35 christos Exp $
 CDBASE=		vaxcd			# gives ${CDBASE}.iso
 CDRELEASE=	true			# include $RELEASEDIR/$RELEASEMACHINEDIR
 CDDEV_POPULATE=	true			# populate /dev on the CD
@@ -11,6 +11,8 @@ CD_SETS=	base etc	# no modules for VAX
 .include 
 SYSINSTDIR!= cd ${.CURDIR}/../../../../usr.sbin/sysinst/arch/${MACHINE} && ${PRINTOBJDIR}
 
+SPEC_EXTRA:=${.PARSEDIR}/spec.in
+
 # prepare mutliuser install environment
 image_md_pre:
 	${RM} -f cdrom/boot

Added files:

Index: src/distrib/vax/cdroms/installcd/spec.in
diff -u /dev/null src/distrib/vax/cdroms/installcd/spec.in:1.1
--- /dev/null	Wed May 15 12:31:36 2024
+++ src/distrib/vax/cdroms/installcd/spec.in	Wed May 15 12:31:35 2024
@@ -0,0 +1,5 @@
+./install.sh 	type=file uname=root gname=wheel mode=755
+./mnt2 		type=dir  uname=root gname=wheel mode=755
+./netbsd 	type=file uname=root gname=wheel mode=644
+./targetroot 	type=dir  uname=root gname=wheel mode=755
+./etc/gettytab	type=link uname=root gname=wheel mode=755



CVS commit: src/distrib/vax/cdroms/installcd

2024-05-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed May 15 16:31:36 UTC 2024

Modified Files:
src/distrib/vax/cdroms/installcd: Makefile
Added Files:
src/distrib/vax/cdroms/installcd: spec.in

Log Message:
Add missing stuff for vax


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/distrib/vax/cdroms/installcd/Makefile
cvs rdiff -u -r0 -r1.1 src/distrib/vax/cdroms/installcd/spec.in

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



Re: CVS commit: src/distrib/vax/cdroms/installcd

2014-05-30 Thread Izumi Tsutsui
martin@ wrote:

 Module Name:  src
 Committed By: martin
 Date: Fri May 30 13:23:05 UTC 2014
 
 Modified Files:
   src/distrib/vax/cdroms/installcd: Makefile
 
 Log Message:
 The current vax /boot is super slow unziping kernels - and this is a CD, wich
 has space enough, so unzip the kernel on it to speed up the boot process.
 XXX The /boot bug should nevertheless be fixed.

FYI, gunziping a kernel on m68k machines (luna68k and x68k) is
also extremely slow (takes a few minutes) so probably it's
an MI libsa cread problem.
---
Izumi Tsutsui


Re: CVS commit: src/distrib/vax/cdroms/installcd

2014-05-30 Thread Martin Husemann
On Fri, May 30, 2014 at 11:12:19PM +0900, Izumi Tsutsui wrote:
 FYI, gunziping a kernel on m68k machines (luna68k and x68k) is
 also extremely slow (takes a few minutes) so probably it's
 an MI libsa cread problem.

Yes, nothing in VAX /boot changed for a long time, and the regression
happened between NetBSD 4 and NetBSD 5.

In my testing a netbsd 4.0 install kernel could be loaded in slightly
above 20s with the 4.0 /boot, but -current takes 3 min 30 seconds for
the same kernel.

The only obvious commit (crc32) was not the culprit, haven't had a chance
to do a complete bisect yet.

Martin


Re: CVS commit: src/distrib/vax/cdroms/installcd

2014-05-30 Thread Izumi Tsutsui
martin@ wrote:

 Module Name:  src
 Committed By: martin
 Date: Fri May 30 13:24:22 UTC 2014
 
 Modified Files:
   src/distrib/vax/cdroms/installcd: Makefile
 
 Log Message:
 Pre-populate /dev on the CD - with rockridge extensions we can do this and
 it saves us one tmpfs (or mfs) instance, which helps quite a bit on low
 memory machines.

Does it work as expected on MKUNPRIVED=yes builds?

In the perfect world[tm], we should rather use
makefs -F mtree-specfile for all files (and device nodes)
in install isos otherwise all iso images include local users:

---
# ftp ftp://ftp7.jp.netbsd.org/pub/NetBSD/iso/6.1.4/NetBSD-6.1.4-i386.iso
 :
# vnconfig vnd0 NetBSD-6.1.4-i386.iso 
# mount /dev/vnd0a /mnt
# ls -l /mnt
total 6184
drwxr-xr-x   2 dbus  mail 6144 Apr 13 15:53 bin
-r--r--r--   1 dbus  mail73236 Apr 13 15:59 boot
-rw-r--r--   1 dbus  mail  553 Apr 13 15:59 boot.cfg
drwxr-xr-x   2 dbus  mail 2048 Apr 13 15:59 dev
drwxr-xr-x  26 dbus  mail12288 Apr 13 15:59 etc
drwxr-xr-x   4 dbus  mail 2048 Apr 13 15:58 i386
-r-xr-xr-x   1 dbus  mail 3084 Apr 13 15:59 install.sh
drwxr-xr-x   2 dbus  mail12288 Apr 13 15:48 lib
drwxr-xr-x   3 dbus  mail 2048 Apr 13 15:53 libdata
drwxr-xr-x   4 dbus  mail 2048 Apr 13 15:59 libexec
drwxr-xr-x   2 dbus  mail 2048 Apr 13 15:39 mnt
drwxr-xr-x   2 dbus  mail 2048 Apr 13 15:59 mnt2
-rw-r--r--   1 dbus  mail  5911082 Apr 13 15:59 netbsd
drwxr-xr-x   2 dbus  mail18432 Apr 13 15:53 sbin
drwxr-xr-x   3 dbus  mail 2048 Apr 13 15:43 stand
-rwxr-xr-x   1 dbus  mail   150929 Apr 13 15:59 sysinst
-rwxr-xr-x   1 dbus  mail32239 Apr 13 15:59 sysinstmsgs.de
-rwxr-xr-x   1 dbus  mail31264 Apr 13 15:59 sysinstmsgs.es
-rwxr-xr-x   1 dbus  mail31991 Apr 13 15:59 sysinstmsgs.fr
-rwxr-xr-x   1 dbus  mail27945 Apr 13 15:59 sysinstmsgs.pl
drwxr-xr-x   2 dbus  mail 2048 Apr 13 15:59 targetroot
drwxr-xr-x   2 dbus  mail 2048 Apr 13 15:39 tmp
drwxr-xr-x   8 dbus  mail 2048 Apr 13 15:59 usr
drwxr-xr-x   2 dbus  mail 2048 Apr 13 15:59 var
#
---
(dbus is uid 1003 and mail is gid 1002 in my host)

---
Izumi Tsutsui