[Yum-devel] [PATCH] add variable $distroname to config
Bastiaan Bakker
Bastiaan.Bakker at enovation.nl
Thu Jun 1 20:40:53 UTC 2006
Hi,
Yum allows one to use the same repository definition for multiple versions and architectures of a distribution with help of $releasever, $basearch, etc. However, it currently lacks a way to reuse the same definition across distributions.
Attached is a small patch that introduces a config option 'distroname' and a variable $distroname to yum's config. By default $distroname will contain 'fedora' (to align with distroverpkg), but it can be modified with option 'distroname'.
Cheers,
Bastiaan Bakker
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.baseurl.org/pipermail/yum-devel/attachments/20060601/69f99bc5/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yum-distroname-var.patch
Type: text/x-patch
Size: 928 bytes
Desc: yum-distroname-var.patch
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20060601/69f99bc5/attachment.bin
More information about the Yum-devel
mailing list