Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jul 2009 10:27:47 +1000
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        freebsd-current@freebsd.org
Cc:        David Boyd <David.Boyd@insightbb.com>
Subject:   Re: 8.0-BETA2 sysinstall ignoring setting of nonInteractive
Message-ID:  <200907221027.57244.doconnor@gsoft.com.au>
In-Reply-To: <OJEBKOFDEOADELCOBJCGIEDOCEAA.David.Boyd@insightbb.com>
References:  <OJEBKOFDEOADELCOBJCGIEDOCEAA.David.Boyd@insightbb.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1845827.QMSQQtVLu2
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=2D-- media.c     (revision 195813)
+++ media.c     (working copy)
@@ -262,7 +262,8 @@
                mediaDevice =3D devs[0];
        if (mediaDevice)
                mediaDevice->private =3D NULL;
=2D       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);
 }


=2D-=20
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

--nextPart1845827.QMSQQtVLu2
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)

iD8DBQBKZl0N5ZPcIHs/zowRAoLJAJ9g6jj7/mBUj4NR3SMfh+3MV1g3fACfVZme
1YXKwM71isOudr84BUtk698=
=1V92
-----END PGP SIGNATURE-----

--nextPart1845827.QMSQQtVLu2--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907221027.57244.doconnor>