How is the standard in the openSUSE:Factory project configured?
hi, In the Factory project repositories, click "Download Repository" of the standard, and it will be redirected to“https://build.opensuse.org/repositories/openSUSE:Factory”, how is the relationship between the two configured? Who knows how this is configured?Please teach me。 Thank you
Hi, On Tue, 2020-12-29 at 16:01 +0800, huangyang wrote:
hi,
In the Factory project repositories, click "Download Repository" of the standard, and it will be redirected to“ https://build.opensuse.org/repositories/openSUSE:Factory”, how is the relationship between the two configured? Who knows how this is configured? Please teach me。
You probably want to set "download_url" in your private OBS configuration. $ osc api -e /configuration Please make sure that the <download_url>..</download_url> is pointing to a valid URL from where you are hosting the repositories. In the default OBS configuration, the repositories are served through apache2 web server at http://ip.address.or.hostname:82/ URL. https://github.com/openSUSE/open-build-service/blob/master/dist/obs-apache24... Depending on how you customized your OBS apache2 configuration, please set the <download_url> element in the "osc api -e /configuration" command. Hope this helps, Srinidhi.
Am Tue, 29 Dec 2020 16:01:06 +0800 (CST) schrieb huangyang <streamlet_hy@163.com>:
hi,
In the Factory project repositories, click "Download Repository" of the standard, and it will be redirected to“https://build.opensuse.org/repositories/openSUSE:Factory”,
how is the relationship between the two configured? Who knows how this is configured?Please teach me。
There is a number of other repositories configured similar to what you need. First of all, please get used to the command line utility "OSC", you will not be happy without. There is quite some documentation to OBS, one that might be interesting to you is https://en.opensuse.org/openSUSE:Build_Service_private_installation To build a new architecture, you will have to do the bootstrapping: https://en.opensuse.org/openSUSE:Build_Service_private_instance_boot_strappi... although that might already partly be done, if you are already able to build packages for your arch. It is still a good read. To build against openSUSE:Factory, you will have to setup a linkedbuild target. You might want to compare with openSUSE:Factory:zSystems # osc meta prj openSUSE:Factory:zSystems ... <repository name="standard" rebuild="direct" linkedbuild="all"> <path project="openSUSE:Factory" repository="standard"/> <path project="openSUSE:Factory" repository="ports"/> <arch>s390x</arch> <arch>x86_64</arch> </repository> ... The definition for the standard repository of openSUSE:Factory can be looked up at osc meta prj openSUSE:Factory When using your own buildservice, you will also want to setup a remoteurl in your local project. Find the description at https://en.opensuse.org/openSUSE:Build_Service_private_instance_boot_strappi... Note, that there is also an IRC channel #opensuse-buildservice Have fun Berthold
participants (3)
-
Berthold Gunreben
-
huangyang
-
Srinidhi B