Bug 1120938

Summary: Wrong repos added in installer
Product: [openSUSE] openSUSE Tumbleweed Reporter: Guillaume GARDET <guillaume.gardet>
Component: InstallationAssignee: Guillaume GARDET <guillaume.gardet>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: afaerber, agraf, dmueller, lnussel, normand
Version: Current   
Target Milestone: ---   
Hardware: aarch64   
OS: Other   
See Also: https://bugzilla.suse.com/show_bug.cgi?id=1112937
http://bugzilla.suse.com/show_bug.cgi?id=1134554
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Guillaume GARDET 2019-01-07 13:44:43 UTC
Installer adds online repos from http://download.opensuse.org/YaST/Repos/_openSUSE_Factory_Default.xml
which are fine for x86*, but wrong for other archs, such as aarch64.
Comment 2 Ludwig Nussel 2019-01-07 15:54:14 UTC
That's defined in control.xml from skelcd-control-openSUSE, you need to adjust that in the arm build.
Comment 3 Guillaume GARDET 2019-01-07 16:07:32 UTC
(In reply to Ludwig Nussel from comment #2)
> That's defined in control.xml from skelcd-control-openSUSE, you need to
> adjust that in the arm build.

skelcd-control-openSUSE already handle non-x86 architectures. See: 
https://build.opensuse.org/package/view_file/openSUSE:Factory:ARM/skelcd-control-openSUSE/skelcd-control-openSUSE.spec?expand=1
Comment 4 Ludwig Nussel 2019-01-09 09:14:07 UTC
so that replaces stuff but not https://download.opensuse.org/YaST/Repos/openSUSE_Factory_Servers.xml
Comment 5 Ludwig Nussel 2019-01-09 09:15:53 UTC
FWIW the source for that file is at https://github.com/openSUSE/download.o.o, there are no ports specific ones there either.
Comment 6 Guillaume GARDET 2019-01-09 09:31:58 UTC
But where comes from the https://download.opensuse.org/YaST/Repos/openSUSE_Factory_Servers.xml link?

I need to know to be able to change it to https://download.opensuse.org/YaST/Repos/openSUSE_Factory_ARM_Servers.xml or something similar.
Comment 7 Ludwig Nussel 2019-01-09 09:36:01 UTC
external_sources_link in control.xml
Comment 8 Guillaume GARDET 2019-01-23 15:21:12 UTC
PR available to update YaST/Repos/_openSUSE_Factory_Default.xml.in to handle aarch64: https://github.com/openSUSE/download.o.o/pull/22
Comment 9 Michel Normand 2019-05-02 13:23:44 UTC
Same problem with ppc64le and bug#1132748 with another proposal not requiring YaST changes.
Comment 10 Guillaume GARDET 2019-05-20 14:18:17 UTC
Reworked PR available: https://github.com/openSUSE/download.o.o/pull/25
And related skelcd-control-openSUSE update: https://github.com/yast/skelcd-control-openSUSE/pull/188
Comment 11 Guillaume GARDET 2019-06-12 07:38:04 UTC
SR on the way to Factory: https://build.opensuse.org/request/show/709340
Comment 12 Guillaume GARDET 2019-08-29 10:41:08 UTC
This is fixed for Tumbleweed.

For the record, PR available for ports support in 15.2: https://github.com/openSUSE/download.o.o/pull/27
Comment 13 Guillaume GARDET 2020-10-06 09:58:28 UTC
An fix of the fix is available:
* Tumbleweed PR: https://github.com/yast/skelcd-control-openSUSE/pull/215
* 15.2 PR: https://github.com/yast/skelcd-control-openSUSE/pull/216
Comment 14 OBSbugzilla Bot 2020-10-23 14:40:08 UTC
This is an autogenerated message for OBS integration:
This bug (1120938) was mentioned in
https://build.opensuse.org/request/show/843614 15.2 / skelcd-control-openSUSE
Comment 15 Swamp Workflow Management 2021-02-05 22:07:16 UTC
openSUSE-RU-2021:0243-1: An update that has two recommended fixes and contains one feature can now be installed.

Category: recommended (moderate)
Bug References: 1120938,1173676
CVE References: 
JIRA References: SLE-14807
Sources used:
openSUSE Leap 15.2 (src):    skelcd-control-openSUSE-15.2.6-lp152.2.3.1, skelcd-control-openSUSE-promo-15.2.6-lp152.2.3.1