Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Oct 1997 12:48:19 +0100
From:      neil.long@materials.oxford.ac.uk (Neil J Long)
To:        current@freebsd.org
Subject:   make installworld
Message-ID:  <9710221248.ZM9893@njl2.materials.ox.ac.uk>

next in thread | raw e-mail | index | archive | help
Hi

I am using make installworld (after a successful buildworld on the host server,
of course) using read-only mounts of /usr/src and /usr/obj

This is still a problem even if the server has had installworld run.

It fails at

===> include
cd /usr/src/include;  install -C -o bin -g bin -m 444  a.out.h ar.h assert.h
bitstring.h ctype.h db.h dirent.h disktab.h  err.h f2c.h fnmatch.h fstab.h
fts.h glob.h grp.h strhash.h histedit.h  kvm.h limits.h link.h locale.h
malloc.h memory.h mpool.h ndbm.h  netdb.h nl_types.h nlist.h paths.h pthread.h
pthread_np.h pwd.h  ranlib.h regex.h regexp.h resolv.h rune.h runetype.h
setjmp.h sgtty.h  signal.h stab.h stddef.h stdio.h stdlib.h string.h strings.h
 struct.h sysexits.h tar.h time.h timers.h ttyent.h unistd.h utime.h  utmp.h
vis.h /usr/include
cd /usr/src/include/arpa;  install -C -o bin -g bin -m 444  ftp.h inet.h
nameser.h telnet.h tftp.h /usr/include/arpa
cd /usr/src/include/protocols;  install -C -o bin -g bin -m 444  dumprestore.h
routed.h rwhod.h talkd.h timed.h /usr/include/protocols
cd /usr/src/include/rpc;  install -C -o bin -g bin -m 444  auth.h auth_unix.h
clnt.h pmap_clnt.h pmap_prot.h pmap_rmt.h  rpc.h rpc_msg.h svc.h svc_auth.h
types.h xdr.h /usr/include/rpc
rm: osreldate.h: Read-only file system
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

/usr/obj has to be mounted writeable in order that

creating osreldate.h from newvers.sh
. /usr/src/include/../sys/conf/newvers.sh;                       echo
"$COPYRIGHT" > osreldate.h;                        echo \#'undef
__FreeBSD_version' >> osreldate.h;        echo \#'define __FreeBSD_version'
$RELDATE >> osreldate.h
install -C -o bin -g bin -m 444 osreldate.h  /usr/include

can proceed. Shame it breaks the idea of mounting ro



Neil



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9710221248.ZM9893>