From owner-freebsd-stable Tue Nov 7 7:15:43 2000 Delivered-To: freebsd-stable@freebsd.org Received: from point.osg.gov.bc.ca (point.osg.gov.bc.ca [142.32.102.44]) by hub.freebsd.org (Postfix) with ESMTP id CACC237B479 for ; Tue, 7 Nov 2000 07:15:38 -0800 (PST) Received: (from daemon@localhost) by point.osg.gov.bc.ca (8.8.7/8.8.8) id HAA23842 for ; Tue, 7 Nov 2000 07:15:33 -0800 Received: from passer.osg.gov.bc.ca(142.32.110.29) via SMTP by point.osg.gov.bc.ca, id smtpda23836; Tue Nov 7 07:15:18 2000 Received: (from uucp@localhost) by passer.osg.gov.bc.ca (8.11.0/8.9.1) id eA7FFHQ00364 for ; Tue, 7 Nov 2000 07:15:17 -0800 (PST) Received: from cwsys9.cwsent.com(10.2.2.1), claiming to be "cwsys.cwsent.com" via SMTP by passer9.cwsent.com, id smtpdk94743; Tue Nov 7 07:12:23 2000 Received: (from uucp@localhost) by cwsys.cwsent.com (8.11.1/8.9.1) id eA7FCMo07947 for ; Tue, 7 Nov 2000 07:12:22 -0800 (PST) Message-Id: <200011071512.eA7FCMo07947@cwsys.cwsent.com> Received: from localhost.cwsent.com(127.0.0.1), claiming to be "cwsys" via SMTP by localhost.cwsent.com, id smtpdTo7944; Tue Nov 7 07:12:14 2000 X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 Reply-To: Cy Schubert - ITSD Open Systems Group From: Cy Schubert - ITSD Open Systems Group X-OS: FreeBSD 4.1.1-RELEASE X-Sender: cy To: freebsd-stable@freebsd.org Subject: Mergemaster Fails with R/O NFS Mounted /usr/src Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 07 Nov 2000 07:12:13 -0800 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Installing 4.2-BETA on a system from read-only NFS mounted /usr/src and /usr/obj, mergemaster fails with the following: [lines removed] mtree -deU -f /usr/opt/cvs-420b-001106/src/etc/mtree/BSD.include.dist -p /usr/libdata/perl/5.00503/mach cd /; rm -f /sys; ln -s usr/src/sys sys cd /usr/share/locale; set - `cat /usr/opt/cvs-420b-001106/src/etc/local e.alias`; while [ $# -gt 0 ] ; do rm -rf "$1"; ln -s "$2" "$1"; shift; shift; done cd /usr/share/nls; set - `cat /usr/opt/cvs-420b-001106/src/etc/locale.a lias`; while [ $# -gt 0 ] ; do rm -rf "$1"; ln -s "$2" "$1"; shift; shift; done; rm -rf POSIX; ln -s C POSIX rm: ASCII: Read-only file system *** Error code 1 Stop in /usr/opt/cvs-420b-001106/src/etc. *** FATAL ERROR: Cannot 'cd' to /usr/src/etc and install files to the temproot environment cwtest# Based upon the diffs between mergemaster 1.6.2.3 and 1.6.2.4, here's my workaround: --- src/usr.sbin/mergemaster/mergemaster.sh.orig Wed Nov 1 00:34:30 2000 +++ src/usr.sbin/mergemaster/mergemaster.sh Tue Nov 7 06:38:46 2000 @@ -428,7 +428,7 @@ esac { cd ${SOURCEDIR} && - make DESTDIR=${DESTDIR} distrib-dirs && + touch .foobar && rm .foobar && make DESTDIR=${DESTDIR} distrib-dirs make DESTDIR=${TEMPROOT} distrib-dirs && make DESTDIR=${TEMPROOT} -DNO_MAKEDEV distribution;} || { echo ''; Regards, Phone: (250)387-8437 Cy Schubert Fax: (250)387-5766 Team Leader, Sun/DEC Team Internet: Cy.Schubert@osg.gov.bc.ca Open Systems Group, ITSD, ISTA Province of BC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message