1 / 6

Package functions and tools in CDB

Package functions and tools in CDB. Veronique Lefebure German Cancio ELFms meeting 01.02.05. Idea. Give the possibility to include the default version of a package in a template The default versions are centrally stored in a separate template

luann
Download Presentation

Package functions and tools in CDB

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Package functions and tools in CDB Veronique LefebureGerman Cancio ELFms meeting 01.02.05

  2. Idea • Give the possibility to include the default version of a package in a template • The default versions are centrally stored in a separate template • When the default version is changed (security upgrade, …): it is changed at one single place • See Savannah bug 5424 (04.11.04)

  3. PAN functions • Pkg_add, pkg_repl, pkg_del: • Arguments: • <name> <version> <arch> <multi> • Now “DEF” is a possible value for <version> and for <arch> • The default values are found in pro_software_packages_defaults_<os>.tpl

  4. Pro_software_packages_defaults_<os>.tpl • Define variable package_default = nlist(“name1”,list(“version1”,”arch1”),….“nameN”,list(“versionN”,”archN”) );

  5. RPMGetDefault.pl • Creates pro_software_packages_defaults_<os>.tpl • `rpm -qp --nosignature --queryformat '%{NAME} %{VERSION}-%{RELEASE} %{ARCH}' $Source/$pack` • $Source = (configurable) • /afs/cern.ch/project/linux/cern/<os>/<arch>/Redhat/RPMS • /afs/cern.ch/project/linux/cern/updates/<arch>/RPMS

  6. Manual steps left • CDB commit the new pro_sw_pkg_defaults_<os>.tpl • Check for new splitting of RPMs • Check (?) for hardcoded RPM versions

More Related