Subject: how to run etcupdate from a readonly filesystem?
To: None <current-users@netbsd.org>
From: Ronald van der Pol <Ronald.vanderPol@rvdp.org>
List: current-users
Date: 03/05/2003 20:18:19
I have build current on a fileserver and installed successfully
on a client that NFS mounts that filesystem readonly.

I now have difficulty with etcupdate. I have tried various
environment variables, but have not found the magic combination
yet. E.g.

---------------
# UNPRIVED=1 UPDATE=1 DESTDIR=/net/NetBSD/build-i386 \
MAKEOBJDIRPREFIX=/net/NetBSD/obj-i386  \
TOOLDIR=/net/NetBSD/tools-i386 etcupdate -s /net/NetBSD/src -v

*** WARNING: /tmp/temproot already exists

Continue previously aborted update? (y/[n]) 
Remove the old /tmp/temproot? (y/[n]) y
*** Removing /tmp/temproot
*** Creating /tmp/temproot
*** Populating /tmp/temproot from /net/NetBSD/src
(cd /a/10.0.0.2/export/NetBSD-current/src && make NOPOSTINSTALL=1 build)
Build started at: Wed Mar  5 20:02:28 CET 2003
(cd /a/10.0.0.2/export/NetBSD-current/src/tools && make dependall)
dependall ===> host-mkdep
rm -f host-mkdep
CC=cc CFLAGS=-O LDFLAGS=  /a/10.0.0.2/export/NetBSD-current/src/tools/host-mkdep/configure --cache-file=config.cache
/a/10.0.0.2/export/NetBSD-current/src/tools/host-mkdep/configure: cannot create conf10109.file: read-only file system
‰Ã¡s5e
À
 û: cannot create config.log: read-only file system
*** Error code 2

Stop.
make: stopped in /a/10.0.0.2/export/NetBSD-current/src/tools/host-mkdep
*** Error code 1

Stop.
make: stopped in /a/10.0.0.2/export/NetBSD-current/src/tools/host-mkdep
*** Error code 1

Stop.
make: stopped in /a/10.0.0.2/export/NetBSD-current/src/tools
*** Error code 1

Stop.
make: stopped in /a/10.0.0.2/export/NetBSD-current/src
*** Error code 1

Stop.
make: stopped in /a/10.0.0.2/export/NetBSD-current/src
*** Error code 1

Stop.
make: stopped in /a/10.0.0.2/export/NetBSD-current/src
#
---------------

BTW, the control characters are not printed when I remove the
MAKEOBJDIRPREFIX variable. Strange...

Does anybody know the magic combination of variables?

	rvdp