Home_greyopenFATE - openSUSE feature tracking > #309395
Dashboard | Search | Sign up | Login

Please login or register to be able to edit or vote this feature.

Handle variables in repo files similar to yum

Feature state

openSUSE-11.3
Done

Description

Yum expands a set of variables in the repo files such as

  • releasever (extracted from the release file)
  • basearch

Which allows usage of the same repo files for multiple version and architectures.

User benefit:

Adding such support will allow better portability of repo files between yum and zypper and felxibility managing repos and repo files.

Discussion


icons/user_comment.png D. M. wrote: (4 years ago)

Anas, did you really tried using $distver and $basearch in your repo files? This is already implemented.

icons/user_comment.png A. N. wrote: (4 years ago)

Ok, it seems libzypp looks for redhat-release (distroverpkg), but that seems to be hardcoded? Is there away to change this in the config file?

Last change: 2 years ago
Voting
Score: -1
  • Negative: 2
  • Neutral: 1
  • Positive: 1
Tags

No tags yet.

Feature Export
Application-xmlXML   Text-x-logPlaintext   PrinterPrint