Subject: Re: problem with build.sh and rdonly filesystem
To: Luke Mewburn <lukem@netbsd.org>
From: Ronald van der Pol <Ronald.vanderPol@rvdp.org>
List: current-users
Date: 04/30/2004 22:28:37
On Wed, Mar 05, 2003 at 12:03:29 +0100, Ronald van der Pol wrote:

> On Wed, Mar 05, 2003 at 21:24:43 +1100, Luke Mewburn wrote:
> 
> > Try adding '-w /some/writable/file'  to that.
> 
> That's going much better.
> 
> ----------
> # sh build.sh -u -U -M /net/NetBSD/obj-i386 -T /net/NetBSD/tools-i386 -D /net/NetBSD/build-i386 -V MKTOOLS=no  -w /tmp/foo install=/
> ===> build.sh command: build.sh -u -U -M /net/NetBSD/obj-i386 -T /net/NetBSD/tools-i386 -D /net/NetBSD/build-i386 -V MKTOOLS=no -w /tmp/foo install=/
> ===> build.sh started: Wed Mar  5 11:39:38 CET 2003
> ===> DESTDIR path: /net/NetBSD/build-i386
> ===> TOOLDIR path: /net/NetBSD/tools-i386
> ===> Updated /tmp/foo
> (cd /a/10.0.0.2/export/NetBSD-current/src/distrib/sets &&  /net/NetBSD/tools-i386/bin/nbmake INSTALLDIR=/ INSTALLSETS= installsets)
> DESTDIR=/net/NetBSD/build-i386  MACHINE=i386 MACHINE_ARCH=i386  MAKE=/net/NetBSD/tools-i386/bin/nbmake MTREE=/net/NetBSD/tools-i386/bin/nbmtree PAX=/net/NetBSD/tools-i386/bin/nbpax sh /a/10.0.0.2/export/NetBSD-current/src/distrib/sets/maketars -d /net/NetBSD/build-i386  -M /net/NetBSD/build-i386/METALOG -N /a/10.0.0.2/export/NetBSD-current/src/etc  -i / 
> Parsing /net/NetBSD/build-i386/METALOG
> Copying set base
> Copying set comp

[...]

Did something change? The command above does not work anymore.
/mnt/foo is on a readonly NFS filesystem.

# sh build.sh -o -u -U -M /mnt/foo/obj-i386 -T /mnt/foo/tools-i386 \
-D /mnt/foo/build-i386 -V MKTOOLS=no -w /tmp/foo install=/
===> build.sh command: build.sh -o -u -U -M /mnt/foo/obj-i386 -T /mnt/foo/tools-i386 -D /mnt/foo/build-i386 -V MKTOOLS=no -w /tmp/foo install=/
===> build.sh started: Fri Apr 30 22:24:10 CEST 2004
===> MACHINE:          i386
===> MACHINE_ARCH:     i386
===> TOOLDIR path:     /mnt/foo/tools-i386
===> DESTDIR path:     /mnt/foo/build-i386
===> RELEASEDIR path:  /mnt/foo/src/releasedir
===> makewrapper:      /tmp/foo
===> Updated /tmp/foo
installsets ===> distrib/sets   (with: INSTALLDIR=/ INSTALLSETS=)
cd /mnt/foo/src/distrib/sets &&  DESTDIR=/mnt/foo/build-i386  MACHINE=i386 MACHINE_ARCH=i386  CKSUM=/mnt/foo/tools-i386/bin/nbcksum MAKE=/mnt/foo/tools-i386/bin/nbmake MTREE=/mnt/foo/tools-i386/bin/nbmtree  MKTEMP=/mnt/foo/tools-i386/bin/nbmktemp PAX=/mnt/foo/tools-i386/bin/nbpax HOST_SH=sh  sh ./maketars -d /mnt/foo/build-i386  -M /mnt/foo/build-i386/METALOG -N /mnt/foo/src/etc   -i / 
./maketars: cannot create /mnt/foo/build-i386/etc/mtree/set.base: permission denied
^C# 

	rvdp