Date: Wed, 22 Jul 2009 10:55:25 -0700 From: Randi Harper <randi@freebsd.org> To: "Daniel O'Connor" <doconnor@gsoft.com.au> Cc: David Boyd <David.Boyd@insightbb.com>, freebsd-current@freebsd.org Subject: Re: 8.0-BETA2 sysinstall ignoring setting of nonInteractive Message-ID: <e277d6c80907221055t72b67f1fw90a48f2058aebc4e@mail.gmail.com> In-Reply-To: <200907221027.57244.doconnor@gsoft.com.au> References: <OJEBKOFDEOADELCOBJCGIEDOCEAA.David.Boyd@insightbb.com> <200907221027.57244.doconnor@gsoft.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 21, 2009 at 5:27 PM, Daniel O'Connor <doconnor@gsoft.com.au>wrote: > On Wed, 22 Jul 2009, David Boyd wrote: > > With 8.0-BETA(1/2) sysinstall ignores setting of nonInteractive > > variable when using USB-based install. > > > > With or without nonInteractive sysinstall issues message "Using USB > > device: da0a" and waits for confirmation. > > > > This breaks unattended installations using USB device. > > I think this would fix it, can you test it? > > Index: media.c > =================================================================== > --- media.c (revision 195813) > +++ media.c (working copy) > @@ -262,7 +262,8 @@ > mediaDevice = devs[0]; > if (mediaDevice) > mediaDevice->private = NULL; > - msgConfirm("Using USB device: %s", mediaDevice->name); > + if (!variable_get(VAR_NONINTERACTIVE)) > + msgConfirm("Using USB device: %s", mediaDevice->name); > return (mediaDevice ? DITEM_LEAVE_MENU : DITEM_FAILURE); > } > Woops. :) I'll test this out later tonight and see if I can get the fix in. Thanks, Daniel. -- randi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e277d6c80907221055t72b67f1fw90a48f2058aebc4e>