From owner-svn-src-projects@FreeBSD.ORG Wed Jan 14 16:40:54 2015 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from hub.FreeBSD.org (hub.freebsd.org [IPv6:2001:1900:2254:206c::16:88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 87C17182; Wed, 14 Jan 2015 16:40:53 +0000 (UTC) Date: Wed, 14 Jan 2015 16:40:48 +0000 From: Glen Barber To: Nathan Whitehorn Subject: Re: svn commit: r277183 - projects/release-vmimage/release/tools Message-ID: <20150114164048.GK91178@hub.FreeBSD.org> References: <201501141523.t0EFNwF1046408@svn.freebsd.org> <54B69900.1050707@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="g4MvFqI7wmANiPDo" Content-Disposition: inline In-Reply-To: <54B69900.1050707@freebsd.org> X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event User-Agent: Mutt/1.5.23 (2014-03-12) Cc: svn-src-projects@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jan 2015 16:40:54 -0000 --g4MvFqI7wmANiPDo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I should have included that this is temporary. I'm using qemu over SSH to test the image builds. I plan on reverting this before it gets merged to head. Glen On Wed, Jan 14, 2015 at 08:27:44AM -0800, Nathan Whitehorn wrote: > Is this a good idea? Do we know why there is a problem with VMs? If it is > necessary, shouldn't this be some kind of default in the kernel rather th= an > a hack in the release scripts? > -Nathan >=20 > On 01/14/15 07:23, Glen Barber wrote: > >Author: gjb > >Date: Wed Jan 14 15:23:58 2015 > >New Revision: 277183 > >URL: https://svnweb.freebsd.org/changeset/base/277183 > > > >Log: > > Enable the textmode console by default for VM images, > > since there is no way to tell if the environment will > > be able to use the graphics-mode console. > > Sponsored by: The FreeBSD Foundation > > > >Modified: > > projects/release-vmimage/release/tools/vmimage.subr > > > >Modified: projects/release-vmimage/release/tools/vmimage.subr > >=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=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > >--- projects/release-vmimage/release/tools/vmimage.subr Wed Jan 14 14:50= :31 2015 (r277182) > >+++ projects/release-vmimage/release/tools/vmimage.subr Wed Jan 14 15:23= :58 2015 (r277183) > >@@ -84,6 +84,12 @@ vm_install_base() { > > >> ${DESTDIR}/etc/fstab > > fi > >+ # Set hw.vga.textmode=3D1, with the assumption that the hypervisor > >+ # will not be capable of using the graphics console mode. > >+ echo '# Comment the next line to enable graphical console mode' \ > >+ >> ${DESTDIR}/boot/loader.conf > >+ echo 'hw.vga.textmode=3D1' >> ${DESTDIR}/boot/loader.conf > >+ > > mkdir -p ${DESTDIR}/dev > > mount -t devfs devfs ${DESTDIR}/dev > > chroot ${DESTDIR} /usr/bin/newaliases > > >=20 --g4MvFqI7wmANiPDo Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJUtpwMAAoJEAMUWKVHj+KTgakQAIeMg5J58fS1oBANqU87GJDX LbU1h0s0+wv3wXuhRPkb0Xe7dH6ACtI3Wyz1DhaknWucdHWYQBkJ98CgSn3kowQp HwvbsDqu/QL9t20XseRbnHb1/Yy5cgO+WdD9sSQySq8zbMWThsU0GVs7IfIeUzB5 f/g5maKMMcBZS0d/t+nJ0e5SBssdfVxjChJwtbbI1JhhJ5TbWxrDu25V73O09UKP Qqn/TSBDNyaVpPZCr94rQDW8VAJqWltj9fAB2p7bY1TbbgmWwkNjnzO7XT7wKiEY 29GrIh+XYYYCWqF4agHp0I2QMbTcV1bfsNOuSIjAntp8gDfjqNB3uaahScsRPVPi 1cNS+QMFBR2iwnYVeN8DdRw6hdHplplfLcMX8N4nFwjh5knYoCdbIqbls1Ps10yl jrXVLHkzNKR+tbAME7cdyro3PsbE9b/ZJJJw+BiisnYncPtrDyefsQjv1NE83cy5 4HyWfV19i4H1F37A6VHwvjwHBhd1WA+MClF11oUzToAuf0sbUG+jg+aabsBqp7vk dMUxeJRA1ap5iBEClnvbjjL/6i2CehNN263qgZFgoHzNIkDR12PNTY0x2CSitDH5 lKjmgxDDdFbajxmT1FfqpNy3uiFQ+9GC7z6TK4phdxLrdnNq6Pkm3iSGaRuOlq1I Yzjeur//6LZqOl/4nYFz =ZPms -----END PGP SIGNATURE----- --g4MvFqI7wmANiPDo--