[3447] in SIPB_Linux_Development

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

Re: outstanding bugs

daemon@ATHENA.MIT.EDU (Jonathon Weiss)
Fri Apr 13 00:54:24 2001

Message-Id: <200104130454.AAA09079@speaker-for-the-dead.mit.edu>
From: Jonathon Weiss <jweiss@MIT.EDU>
To: Garry Zacheiss <zacheiss@MIT.EDU>
cc: Jonathon Weiss <jweiss@MIT.EDU>, linux-dev@MIT.EDU
In-reply-to: Your message of "Fri, 13 Apr 2001 00:21:11 EDT."
             <200104130421.AAA06737@riff-raff.mit.edu> 
Date: Fri, 13 Apr 2001 00:54:16 -0400


OK, that stunningly fast reply has inspired me to come up with the
following patch (as yet untested) for the zero-length release-rpms
files.  It takes a lot of liberties with the format of the file, and
while I believe that rpmupdate will deal with them, I'd be especially
interested in Gerg's comments.  The patch also puts all of the
resolv.conf tweaking together.

	Jonathon


*** instimage/usr/lib/anaconda/installclass.py	Tue Apr  3 01:10:21 2001
--- /tmp/installclass.py	Fri Apr 13 00:49:30 2001
***************
*** 268,273 ****
--- 268,274 ----
  search MIT.EDU
  nameserver 127.0.0.1
  EOF
+ chmod 644 $ROOT/etc/resolv.conf
  
  if pnpdump | grep -q CS4236B ; then
    touch /etc/conf.modules
***************
*** 282,291 ****
    fi
  fi
  
! chmod 644 $ROOT/etc/resolv.conf
  
- touch /var/athena/release-rpms
- 
  cp /tmp/install.log /var/athena/install.log
  chmod 600 /var/athena/install.log
  
--- 283,296 ----
    fi
  fi
  
! # This is a kluge and requires knowing how rpmupdate parses the
! # release-rpms file.  It also assumes we are not doing any custom
! # installs, since it lists every installed rpm in release-rpms.
! # rpmupdate knows that any rpm listed in release-rpms was all
! # installed by the release, and if the release doesn't think the rpm
! # should be installed any more, rpmupdate will remove it.
! rpm -qa | | sed -e 's/$/.ARCH.rpm/' > /var/athena/release-rpms
  
  cp /tmp/install.log /var/athena/install.log
  chmod 600 /var/athena/install.log
  

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