Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jan 2015 16:40:48 +0000
From:      Glen Barber <gjb@FreeBSD.org>
To:        Nathan Whitehorn <nwhitehorn@freebsd.org>
Cc:        svn-src-projects@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r277183 - projects/release-vmimage/release/tools
Message-ID:  <20150114164048.GK91178@hub.FreeBSD.org>
In-Reply-To: <54B69900.1050707@freebsd.org>
References:  <201501141523.t0EFNwF1046408@svn.freebsd.org> <54B69900.1050707@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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