MDV::Distribconf::MediaCFG
This module provides documenation of known values in media.cfg.
The media.cfg version is given by the 'mediacfg_version' in 'media_info'. This value should be set is you want to use new features that can change the behavior of this module.
This is the default and the first version of media.cfg format.
Since this version, all media paths are relative to the media_info path. Previously, media paths were relative to media_info except when beginning with /, which were relative to the root of the distrib.
This version allows to include in values variables that refer to other values defined in the configuration file:
refers to a global value (distribution version, arch...)
refers to a value specific to the media (name, ...)
This value can only be set into 'media_info' section.
The version of the media_cfg
See "MEDIACFG VERSION"
The version of distrib
The arcitecture of the distribution
The branch of the distribution.
The name of the product, 'Download' by default
No documentation
The name of the media. If unset, the section is the name.
The hdlist file holding rpm infos for the media
The synthesis file holding rpm infos for the media
The file holding public gpg key used to sign rpms in this media.
If the media hold binaries rpms, this parameter contains the list of medias holding corresponding sources rpms.
If the media hold sources rpms, this parameter contains the list of media holding binaries rpms build by srpms from this media.
If the media contain updates, it contain the list of media for which rpms are updates.
If the media contain debug rpms, it contain the list of media for which rpms are debug rpms.
This value is used by tools to assume if the media should automatically added to the config (urpmi).
The size of the media. The value is suffixed by the unit.
The media is a supplementary media.
Tools should ask to the user if the media should be add or not to the configuration
Olivier Thauvin <nanardon@mandriva.org>
(c) 2005 Olivier Thauvin ; (c) 2005, 2006 Mandriva
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
To install MDV::Distribconf, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MDV::Distribconf
CPAN shell
perl -MCPAN -e shell install MDV::Distribconf
For more information on module installation, please visit the detailed CPAN module installation guide.