6.1RC1: Unable to select Minimal distribution

Jung-uk Kim jkim at FreeBSD.org
Thu Apr 13 19:27:46 UTC 2006


On Thursday 13 April 2006 03:05 pm, ian j hart wrote:
> On Thursday 13 April 2006 17:03, Jung-uk Kim wrote:
> > On Thursday 13 April 2006 04:47 am, Pieter de Goeje wrote:
> > > Hi,
> > >
> > > I installed FreeBSD 6.1RC1 in qemu. When sysinstall comes to
> > > the "Choose Distributions" screen, I am unable to choose the
> > > "Minimal" distribution. The [  ] stay blank. Also, selecting
> > > All doesn't include it either.
> >
> > You may not see 'X' but it is selected. ;-)  It seems to be an
> > annoying bug in libdialog.  Some releases were okay and some not.
> > I'll look into it when I find some time.
> >
> > Jung-uk Kim
>
> ref:
> http://docs.freebsd.org/cgi/mid.cgi?200603252247.00879.ianjhart
>
> Are you sure it's not one of the March 8th commits? Backing out
> fixes this for me.

Yes, you are correct.  I was thinking that it was the same bug that I 
saw few years ago. :-(

Good news is I found a fix:

Index: menus.c
===================================================================
RCS file: /home/ncvs/src/usr.sbin/sysinstall/menus.c,v
retrieving revision 1.417
diff -u -r1.417 menus.c
--- menus.c     8 Mar 2006 18:02:32 -0000       1.417
+++ menus.c     13 Apr 2006 19:25:08 -0000
@@ -168,7 +168,7 @@
 static int
 checkDistMinimum(dialogMenuItem *self)
 {
-    return Dists == (DIST_BASE);
+    return Dists == (DIST_BASE | DIST_KERNEL);
 }
 
 static int

This function was returning false. ;-)

Jung-uk Kim


More information about the freebsd-stable mailing list