[3587] in SIPB_Linux_Development
installer mods
daemon@ATHENA.MIT.EDU (Angie Kelic)
Fri Nov 30 14:56:38 2001
Message-Id: <200111301956.OAA01230@prowler.mit.edu>
To: linux-dev@MIT.EDU
Date: Fri, 30 Nov 2001 14:56:31 -0500
From: Angie Kelic <sly@MIT.EDU>
I have picked up installclass.py and made a couple mods
It requires that /afs/athena/system/rhlinux/control/list-$ATHENAVERSION
be installed in the top level of the mounted source directory currently
but really it can go anywhere.
this depends on the fact that /mnt/source (the install directory)
is still mounted when the post install script runs, if it's
not I'll come up with something different -- in any case,
diff -u output:
--- /afs/sipb/system/rhlinux/redhat-6.2/RedHat/instimage/usr/lib/anaconda/installclass.py Tue Jun 19 09:45:28 2001
+++ /mit/sly/installclass.py Fri Nov 30 14:44:14 2001
@@ -1,3 +1,5 @@
+# This file comes from:
+# /afs/sipb/system/rhlinux/redhat-6.2/RedHat/instimage/usr/lib/anaconda
# this is the prototypical class for workstation, server, and kickstart
# installs
#
@@ -220,7 +222,7 @@
self.setPostScript('''
#!/bin/sh
-ATHENAVERSION=8.4.0
+ATHENAVERSION=8.4.25
ROOT=/
# Get network address:
@@ -296,8 +298,13 @@
# 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 --queryformat '/%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}.rpm\n' | \
- grep -v '^kernel-smp' > /var/athena/release-rpms
+#rpm -qa --queryformat '/%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}.rpm\n' | \
+# grep -v '^kernel-smp' > /var/athena/release-rpms
+
+#Attempt at just copying the control list over, not sure if things are
+#still mounted at this point but we'll see.
+
+cp /mnt/source/list-$ATHENAVERSION /var/athena/release-rpms
cp /tmp/install.log /var/athena/install.log
chmod 600 /var/athena/install.log