From owner-freebsd-questions Wed Nov 1 5:35:46 2000 Delivered-To: freebsd-questions@freebsd.org Received: from hub.org (hub.org [216.126.84.1]) by hub.freebsd.org (Postfix) with ESMTP id C01E037B4CF for ; Wed, 1 Nov 2000 05:35:42 -0800 (PST) Received: from localhost (scrappy@localhost) by hub.org (8.10.1/8.11.0) with ESMTP id eA1DZgA75203 for ; Wed, 1 Nov 2000 08:35:42 -0500 (EST) (envelope-from scrappy@hub.org) Date: Wed, 1 Nov 2000 08:35:41 -0500 (EST) From: "Marc G. Fournier" To: freebsd-questions@freebsd.org Subject: read-only /usr/src ... mergemaster and kernel build ... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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