Changes between Version 22 and Version 23 of Obsolete/Development/Templates/Generated


Ignore:
Timestamp:
Jul 2, 2007, 2:58:03 PM (18 years ago)
Author:
/C=FR/O=CNRS/OU=UMR8607/CN=Michel Jouvin/emailAddress=jouvin@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Obsolete/Development/Templates/Generated

    v22 v23  
    77== OS Templates ==
    88
    9 OS Templates describing RPM list for each OS feature goup are entirely generated from standard Red Hat (or SL) provided `comps.xml` file. This is a 3 steps process :
     9To add support for a new OS distribution, the recommended method is to copy with `svn cp` the template hierarchy for the last already supported version with the same architecture. Main part of templates for one specific OS version is RPM lists, with one template per RPM group. This is entirely generated from distribution description.
     10
     11After generating templates for RPM groups, the following templates must be modified or reviewed :
     12 * `repository/config.tpl` : edit to point to right RPM repositories ofr the OS version. There is generally one repository per OS version/arch combination.
     13 * `config/os/kernel_arch_version.tpl` : update the kernel version and variant to match what is provided by the distribution.
     14 * `config/glite/*/base.tpl` and `config/glite/*/postconfig.tpl` : may require some adjustement for RPMs explicitly added/updated/removed.
     15
     16=== RPM Lists ===
     17
     18OS Templates describing RPM list for each OS feature goup are entirely generated from standard Red Hat (or SL) provided `comps.xml` file. This is done by tool [source:SCDB/trunk/src/utils/misc/buildOSTemplates src/utils/misc/buildOSTemplates]. It requires 2 parameters :
     19 * Location of OS distribution : this must me the directory containing both a `RPMS` and a `base` directory.
     20 * Templates location : where to put the generated templates. If this is part of SCDB, the script takes care of adding the necessary files to SVN.
     21
     22[source:SCDB/trunk/src/utils/misc/buildOSTemplates src/utils/misc/buildOSTemplates] is a wrapper to 3 other tools, hiding the somewhat complex option arguments :
    1023 * [source:SCDB/trunk/src/utils/misc/rpmProvides.pl src/utils/misc/rpmProvides.pl]: generate a file describing features provided by each RPM in OS distribution
    1124 * [source:SCDB/trunk/src/utils/misc/rpmRequires.pl src/utils/misc/rpmRequires.pl] : generate a file describing for each RPM in the distribution the required dependencies. Uses file produced by previous step as input.
    1225 * [source:SCDB/trunk/src/utils/misc/comps2pan.xsl src/utils/misc/comps2pan.xsl] : generate the templates from standard `comps.xml` file provided in OS distribution. Uses file produced by previous step as input.
    13 
    14 All these tools are part of [source:SCDB SCDB base].
    15 
    16 It is important to use the `namespace` parameter in `comps2pan.xsl` and indicates `rpmlist` as value.
    17 
    18 The reference source for these tools is in `util/misc` in [http://quattor.web.cern.ch/quattor/software.htm Quattor CVS].
    1926
    2027