Hi, again!
2010/9/28 Marcus Hüwe
On 2010-09-28 12:03:58 +0200, Francisco Javier Cuadrado wrote:
I'm trying to configure an own RPM repository to use download on demand, but I don't know how to do it, because into the OBS wiki[1] there is only an example to use debian repository.
My repository is a classic repomd, like the Fedora repository.
First you need to download the "primary.xml.gz" file. Afterwards uncompress it and store it to /srv/obs/build/<project>/<repo>/<arch>/:full/primary.xml Next you need to edit the project meta for instance via osc: "osc meta prj <project> -e" and add the following:
<download baseurl="http://<url>/<path" metafile="primary.xml" mtype="rpmmd" arch="<arch>" />
Choose "<path>" so that the rpms are located in "http://<url>/<path>/<arch>/*" and "http://<url>/<path>/noarch/*".
I've got a new doubt about DoD.
Can I have multiple primary files used into different download tags
but for the same architecture? For example:
Also make sure that dod is enabled in /usr/lib/obs/server/BSConfig.pm: our $enable_download_on_demand = 1;
Afterwards restart the scheduler.
Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
-- Francisco Javier Cuadrado SPAIN-CHINA-HONG KONG-POLAND Spain Main: +34-910005436 Centro Empresarial Eisenhower C/ Cañada Real de Merinas, 25 Edificio 7 - oficina 1ºC 28042 Madrid http://www.iunika.com -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org