From owner-freebsd-questions Wed Feb 21 15:35: 0 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 0F45837B401 for ; Wed, 21 Feb 2001 15:34:58 -0800 (PST) (envelope-from mwm@mired.org) Received: (qmail 17002 invoked by uid 100); 21 Feb 2001 23:34:57 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14996.20641.427010.99254@guru.mired.org> Date: Wed, 21 Feb 2001 17:34:57 -0600 To: Forrest Aldrich Cc: questions@freebsd.org Subject: Re: Mergemaster In-Reply-To: <82558673@toto.iv> X-Mailer: VM 6.89 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Forrest Aldrich types: > I've been using these args for mergmaster: > > # mergemaster -v -t /tmp/merge.mmdd -w 120 2>&1 | tee /tmp/merge.root > > We have these out-of-band console modems (serial) that we connect to, in > order to perform system updates. The problem we're running into is that > when mergemaster scrolls stuff (diffs) across the screen (especially > sendmail.cf diffs), the characters cause the OOB modem to lock up. > > Last night, I ended up having to travel to our co-lo and do maintenance > from the screens through 4am. Not a happy camper. > > I'm wondering if there is some way to suppress the build or comparison/diff > of certain packages... or even the scrolling diff output of mergemaster. > > For example, we build and maintain our own sendmail and named. Even though > we have /etc/make.conf configured not to build sendmail, we still run into > the need to diff when performing mergemaster. It seems there must be a > way to avoid this. > > I'm sure I'm not the only one bitten by this little problem. Luckily it > doesn't happen a lot, but when it does (at 4:00am) it really does :) Mergemaster has hooks to run scripts before hand. You can use that to either autoinstall some files, or delete some from the temporary root tree (I'm not sure if the latter will work). If the problem is the output of diff, you might try using setting the nvironment variable DIFF_OPTIONS to something that is safe for your modems. If mergemaster does things that muck with that, setting DIFF_FLAG might change it's mind. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message