[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Making the graphical installer the default for i386/amd64



On Tue, 2008-09-16 at 19:51 +0200, Frans Pop wrote:
> On Wednesday 10 September 2008, Frans Pop wrote:
> > I would still argue for adding speakup only to the G-I images and would
> > even suggest removing brltty from the regular images. That would make
> > the G-I images the "graphical+accessibility" installer.
> >
> > We could combine that with making the graphical installer the default
> > version of the installer for Lenny (i.e: the top choice in cases where
> > both are available). I think all issues that blocked that switch have
> > been solved now.
> 
> As both Jérémy and Otavio responded positively to this idea and nobody 
> spoke against it, I will prepare the patches to do this. If anybody 
> disagrees with this change, this is your last chance to speak up!

Would anyone mind if I made a similar change for the netboot-xen variant
on i386? I've had the patch ready for a while but wasn't pushing since
we seemed to be so near to a release.

Ian.

The patch, against 55615 which obviously needs updating and testing
again.

Enable graphical install in i386 Xen flavour.

diff --git a/installer/build/boot/x86/xen/xm-debian.cfg b/installer/build/boot/x86/xen/xm-debian.cfg
index a85bd33..d178865 100644
--- a/installer/build/boot/x86/xen/xm-debian.cfg
+++ b/installer/build/boot/x86/xen/xm-debian.cfg
@@ -201,10 +201,14 @@ else:
     extras.append("--")
     extras.append("quiet")
 
+    console="hvc0"
     try:
-        vfb
+        if len(vfb) >= 1:
+            console="tty0"
     except NameError, e:
-        extras.append("console=hvc0")
+        pass
+    
+    extras.append("console="+ console)
 
     extra = str.join(" ", extras)
     print "command line is \"%s\"" % extra
diff --git a/installer/build/config/i386/netboot-xen.cfg b/installer/build/config/i386/netboot-xen.cfg
index 6fdba14..1e2ee7f 100644
--- a/installer/build/config/i386/netboot-xen.cfg
+++ b/installer/build/config/i386/netboot-xen.cfg
@@ -1,5 +1,5 @@
 KERNELVERSION = $(BASEVERSION)-686-bigmem
-TYPE=netboot
+TYPE=netboot/gtk
 include config/i386/netboot.cfg
 EXTRANAME=netboot/xen/
 MANIFEST-KERNEL = "kernel image for installing under Xen"

-- 
Ian Campbell

Those who can, do; those who can't, write.
Those who can't write work for the Bell Labs Record.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: