how to add SLES 15 SP3 from RMT to OBS as a repository
If I have a local OBS and local RMT, then how can I get OBS to use SLES 15 SP3 RPMs from my local RMT? Under the Repositories tab, then what would be the information I add to create a valid repository path? When I click on the plus sign (+) then it prompts me for Project and Repositories. If this is not the right approach, then please let me know. Thanks.
On 2022/05/18 Wed 18:42, George Kraft wrote:
If I have a local OBS and local RMT, then how can I get OBS to use SLES 15 SP3 RPMs from my local RMT? Under the Repositories tab, then what would be the information I add to create a valid repository path? When I click on the plus sign (+) then it prompts me for Project and Repositories. If this is not the right approach, then please let me
On the repository page, besides "Add from a distribution" and "Add from a project", there is a third option of "Add DoD repository". You can add URLs to the repositories on your RMT. Regards, Kai
Would I need to add for each 1) module in the Products directory, 2) for Products, Updates, and LTSS? Thanks!
On 2022/05/20 Fri 16:20, George Kraft wrote:
Would I need to add for each 1) module in the Products directory, 2)
That depends on the packages you are going to build, what dependency they require. If I were you I would add the base module first, and if OBS tells you about unresolvable dependencies, find which module(s) those dependencies are included in and add them on demand.
for Products, Updates, and LTSS? Thanks!
SLES provides binary compatibility within a SP. So you should be fine to build against GA packages (Product), no need to add Updates and LTSS.
For Download on Demand I have tried entering the following URLs to my RMT. None would build with my "helloworld" and none every gets the Download Repository button. Also, what would be the in the Master path? I've been reading https://openbuildservice.org/help/manuals/obs-user-guide/cha.obs.best-practi... https://SERVER/repo/SUSE/ https://SERVER/repo/SUSE/Products/SLE-Module-Basesystem/15-SP3/x86_64/produc... https://SERVER/repo/SUSE/Products/SLE-Module-Basesystem/15-SP3/x86_64/produc... Thanks, George (gk4)
Hi George, On 2022/05/20 Fri 18:02, George Kraft wrote:
For Download on Demand I have tried entering the following URLs to my RMT. None would build with my "helloworld" and none every gets the Download Repository button. Also, what would be the in the Master
There is no download repository button. OBS will download package from the remote repository when it's need, hence on demand.
path? I've been reading https:
In your case just put the URL in the URL field. The master URL is for the repository that has mirrors sites, to put the master host in the master URL in such case.
//openbuildservice.org/help/manuals/obs-user-guide/cha.obs.best-practices.webuiusage.html
https://SERVER/repo/SUSE/Products/SLE-Module-Basesystem/15-SP3/x86_64/produc...
https://SERVER/repo/SUSE/Products/SLE-Module-Basesystem/15-SP3/x86_64/produc...
I don't have a RMT currently on hand so cannot confirm this for you. But if you can add one of the URLs on your openSUSE/SLES system as a software repository and install package from it, then that's the correct one. It's the one that has a "repodata" dir right beneath it. You may also want to check if the OBS server accepts the SSL certificate of your RMT server, as RMT servers usually has a self-signed cert. You may refer to the RMT doc on how to import that cert on your OBS server. Or you can simply use plain HTTP URL if it's only for testing. Regards, Kai
Alternative, how would I add SLES 15 SP3 to my repositories by clicking on the "Add from a Distribution" button? In Interconnect, I have "Standard OBS instance at build.opensuse.org" but it has SP2 and not SP3.
participants (2)
-
George Kraft
-
Kai Liu