The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

MDV::Distribconf::MediaCFG

DESCRIPTION

This module provide documenation of know value in media.cfg

MEDIACFG VERSION

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.

1

This is the default and the first version of mediacfg format.

2

Since this version, all media path are relative to the media_info path. Before, media was relative to media_info except media with / relative to the root of the distrib.

3

This version allow to include in value variable in form of refering to other value set in the file:

${...}

refer to a global value (distribution version, arch...)

%{...}

refer to a value proper to the media (name, ...)

VALUE

GLOBAL VALUES

This value can only be set into 'media_info' section.

mediacfg_version

The version of the media_cfg

See "MEDIACFG VERSION"

version

The version of distrib

arch

The arcitecture of the distribution

branch

The branch of the distribution.

product

The name of the product, 'Download' by default

minor

No documentation

subversion

No documentation

MEDIA VALUES

name

The name of the media. If unset, the section is the name.

hdlist

The hdlist file holding rpm infos for the media

synthesis

The synthesis file holding rpm infos for the media

pubkey

The file holding public gpg key used to sign rpms in this media.

srpms

If the media hold binaries rpms, this parameter contains the list of medias holding corresponding sources rpms.

rpms

If the media hold sources rpms, this parameter contains the list of media holding binaries rpms build by srpms from this media.

updates_for

If the media contain updates, it contain the list of media for which rpms are updates.

debug_for

If the media contain debug rpms, it contain the list of media for which rpms are debug rpms.

noauto

This value is used by tools to assume if the media should automatically added to the config (urpmi).

size

The size of the media. The value is suffixed by the unit.

suppl

The media is a supplementary media.

askmedia

Tools should ask to the user if the media should be add or not to the configuration

AUTHOR

Olivier Thauvin <nanardon@mandriva.org>

LICENSE AND COPYRIGHT

(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.