svn commit: r277183 - projects/release-vmimage/release/tools
Glen Barber
gjb at FreeBSD.org
Wed Jan 14 16:40:54 UTC 2015
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 than
> a hack in the release scripts?
> -Nathan
>
> 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
> >==============================================================================
> >--- 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=1, 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=1' >> ${DESTDIR}/boot/loader.conf
> >+
> > mkdir -p ${DESTDIR}/dev
> > mount -t devfs devfs ${DESTDIR}/dev
> > chroot ${DESTDIR} /usr/bin/newaliases
> >
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-projects/attachments/20150114/a7102bda/attachment.sig>
More information about the svn-src-projects
mailing list