[18110] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: Custom Linux Athena install did not manually run Xconfigurator

daemon@ATHENA.MIT.EDU (Garry Zacheiss)
Mon Aug 7 17:04:14 2000

Date: Mon, 7 Aug 2000 17:04:10 -0400
Message-Id: <200008072104.RAA04375@riff-raff.mit.edu>
From: Garry Zacheiss <zacheiss@MIT.EDU>
To: Bill Cattey <wdc@MIT.EDU>
Cc: bugs@MIT.EDU
In-Reply-To: "[18108] in Athena Bugs"

>> I just installed a Linux Athena system.
>> I very carefully said 
>> 	Custom install: y
>> 	Custom partition: N  (by typing newline)
>> 	Custom X config: y
>> 
>> But it never ran Xconfigurator for me.

   This looks like a pretty simple bug.  In
/afs/athena/system/rhlinux/installer/phase2 we have the following code:

  echo -n 'Do custom X setup? [y/N]: '
  read response
  case "$response" in
    y)
      custom_x=yes
      ;;
    *)
      custom_x=no
      ;;

but then later on, we do this test:

if [ "$custom_x" = true ] ; then
  chroot $ROOT /usr/sbin/mouseconfig
  chroot $ROOT /usr/X11R6/bin/Xconfigurator
else
  chroot $ROOT /usr/sbin/mouseconfig --kickstart
  chroot $ROOT /usr/X11R6/bin/Xconfigurator --kickstart --hsync 30-96 --vsync 48
-120
fi

Changing the test inside the if state should fix the bug.

	 Greg: since the phase2 script doesn't appear to be under any
source management (I was able to find numbered emacs ~ files in the
install locker, but that's it), can you take care of fixing this in the
sources and letting me know when I should push a new phase2 into the
athena cell?

Garry


home help back first fref pref prev next nref lref last post