Fermi Linux 5.2.1 Workgroup Installation Customization
Design Specs
Mail comments to [email protected]
Update history
3/9/99
3/22/99
Last updated 8/19/99
User Installation View
The
"installation class" screen will be changed to list Fermi Workgroups.
The rest of the screens should be the same as from RedHat.
Workgroup Designer Customization Documentation
-
Determine Default RPMS
-
List of Supported RPMS to be installed by default
-
List of choices will be provided by us.
-
Will give our suggested list.
-
Required. We will provide default.
-
Determine and Collect Workgroup RPMS
-
RPMS that the workgroup wants installed. These can come from where ever.
-
Completely up to Workgroup.
-
These are supported by Workgroup.
-
Workgroup needs to make sure they work.
-
We just provide a hook to install them.
-
Optional.
-
Write customization shell script
-
Two shell scripts that are run after all the RPMS are loaded.
-
One runs not change rooted. Access to CDROM is available. CDROM is
available at /tmp/rhimage. Other runs chrooted to new install area. No
cdrom access is available in the "chrooted" environment.
-
Completely up to Workgroup
-
We just provide hook.
-
Will give example.
-
Optional.
-
name will be <workgroup>/scripts/after.rpms.nochroot.sh
-
name will be <workgroup>/scripts/after.rpms.sh
-
Provide config files that customization script needs.
-
Config files that a config script may need.
-
Completely up to Workgroup
-
We just provide hook.
-
Will give example.
-
Optional.
-
Located in <workgroup>/configfiles/
-
We download them to system and place in /etc/<workgroup>/configfiles/
Technical Implementation
-
install2 (RedHat install program that is downloaded from install server
during install)
-
executable located in linux:/export/linux/521/i386/instimage/bin/install2.fermi
-
Change "workstation",
"Server","Custom" question to "WORKGROUP" list & "Custom"
-
First implementation will be hard coded. 2nd version is to be via a configfile(Ease
of change).
-
Will not determine disk partitioning as it is done with current "workstation",Server"
question. User will have to enter disk partitioning info.
-
Redhat code looks for "<workstation>","Server" entries in RedHat/base/comps
file to determine what to install by default. We will do it the same way.
A script
will take the "Default Workgroup RPMS lists" for each group and place
them in the appropriate place in the RedHat/comps file. A script
to take the "comps" file and make "Default Workgroup RPMS lists" was also
written. Need to write a "check
the comps file for integrity" script.
-
Install Floppy Modifications
-
Create kickstart file -- ks.cfg
-
In <%post> area of ks.cfg
-
RUN shell script that looks at "/etc/workgroup" file to determine which
Workgroup RPMS to install and which customization install script to run.
This script is in the ks.cfg file in the %POST area.
-
"/etc/workgroup" file is loaded via a RPM which is in the Default RPMS
for the Workgroup in question. The file contains the name of the
Workgroup. We will make these RPMS, one for each Workgroup. Each
will be the same except for the name of the Workgroup. Located in
-
Install ssh
-
cp /tmp/rhimage/Fermi/workgroups/<workgroup>/* to /etc/<workgroup>/
-
Directories and files in workgroups/<workgroup> include
-
configfiles
-
scripts
-
after.rpms.sh
-
after.rpms.nochroot.sh
-
RPMS
-
SRPMS
-
RPMSI
-
default.rpm.list
-
rpm -i --force --nodeps the RPMS in /etc/<workgroup>/RPMS
-
RUN /etc/<workgroup>/scripts/after.rpms.nochroot.sh (non
chrooted)
-
RUN /etc/<workgroup>/scripts/after.rpms.sh (chrooted)