Mailinglist Archive: zypp-devel (116 mails)
| < Previous | Next > |
[zypp-devel] mirrorlist support in zypp?
- From: Michael E Brown <Michael_E_Brown@xxxxxxxx>
- Date: Wed, 6 Jun 2007 00:57:36 -0500
- Message-id: <20070606055735.GB16925@xxxxxxxxxxxxxxxxxxx>
Repeat question from yesterday since I got no response:
1) How do I set up a repomd (yum) format repository that is set up
using "mirrorlist=URL" in yum?
2) How can I do variable substitution in a URL? I want to set up a
repomd repository (using mirrorlist function above) with a URL like:
mirrorlist=http://some.domain.com/repo/path/mirror.pl?osver=$releasever&osname=sles
Where "$releasever" is automatically replaced with the OS version.
3) How can I write a plugin to add (two) new variables in the
substitution process? I want to set up repositories that are specific to
dell system models and have a server-side cgi redirect the client to the
correct repo based on the system model. Something like:
mirrorlist=http://domain.com/repo/mirrors.pl?vendor=0x1028&model=0x0152&osname=sles&osver=$releasever
Any pointers would be greatly appreciated. I would like to write
something that works with opensuse and sles.
--
Michael
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
1) How do I set up a repomd (yum) format repository that is set up
using "mirrorlist=URL" in yum?
2) How can I do variable substitution in a URL? I want to set up a
repomd repository (using mirrorlist function above) with a URL like:
mirrorlist=http://some.domain.com/repo/path/mirror.pl?osver=$releasever&osname=sles
Where "$releasever" is automatically replaced with the OS version.
3) How can I write a plugin to add (two) new variables in the
substitution process? I want to set up repositories that are specific to
dell system models and have a server-side cgi redirect the client to the
correct repo based on the system model. Something like:
mirrorlist=http://domain.com/repo/mirrors.pl?vendor=0x1028&model=0x0152&osname=sles&osver=$releasever
Any pointers would be greatly appreciated. I would like to write
something that works with opensuse and sles.
--
Michael
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |