Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Nov 2000 08:35:41 -0500 (EST)
From:      "Marc G. Fournier" <scrappy@hub.org>
To:        freebsd-questions@freebsd.org
Subject:   read-only /usr/src ... mergemaster and kernel build ...
Message-ID:  <Pine.BSF.4.21.0011010831340.49517-100000@hub.org>

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

Morning all ...

	Two questions ... how does one run 'mergemaster' in an environment
where /usr/src is shared read-only from a central machine?  

============
rm -f /var/tmp/temproot/etc/termcap
ln -s /usr/share/misc/termcap /var/tmp/temproot/etc/termcap
rm -f /var/tmp/temproot/etc/rmt
ln -s /usr/sbin/rmt /var/tmp/temproot/etc/rmt
rm -f freebsd.cf
(cd /usr/src/etc/sendmail &&  m4 -D_CF_DIR_=/usr/src/etc/sendmail/../../contrib/sendmail/cf/ /usr/src/etc/sendmail/../../contrib/sendmail/cf/m4/cf.m4 freebsd.mc) > freebsd.cf
cannot create freebsd.cf: read-only file system
*** Error code 2

Stop in /usr/src/etc/sendmail.
*** Error code 1

Stop in /usr/src/etc.

  *** FATAL ERROR: Cannot 'cd' to /usr/src/etc and install files to the
      temproot environment
=============

	And, how does one build a kernel in a similar environment?  How do
you specific the kernel config file you want to use? 

=============
artemis# make buildkernel KERNEL=/root/artemis

--------------------------------------------------------------
>>> Rebuilding kernel(s)
--------------------------------------------------------------
artemis# 
=============


Marc G. Fournier                               scrappy@hub.org
Systems Administrator @ hub.org                    
scrappy@{postgresql|isc}.org                       ICQ#7615664



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0011010831340.49517-100000>