|
Bugzilla – Full Text Bug Listing |
| Summary: | inst_extrasources.ycp vs inst_addon_update_sources.ycp | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 12.2 | Reporter: | Ludwig Nussel <lnussel> |
| Component: | YaST2 | Assignee: | Jiří Suchomel <jsuchome> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | coolo |
| Version: | Factory | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
y2logs
patch for /usr/share/YaST2/clients/inst_addon_update_sources.ycp |
||
|
Description
Ludwig Nussel
2012-06-25 08:59:50 UTC
Log files? I already looked up the source code responsible for adding the repos for you. What other information do you need from the log files? I want to get touch with the code. See the metadata that are used there and which arguments are used incorrectly or which code check is missing. I expect to find that in log files. Created attachment 497118 [details]
y2logs
The name for 1st repo is generated as described in bug 542792: Updates for <product> <version> It's alias ID that is missing, and that is indeed not read from control file. inst_addon_update_sources.ycp is adding sources defined by 'update_urls' of each product (esp. Add-Ons, but not only). This has nothing to do with control.xml inst_extrasources.ycp, on the other hand, adds the sources defined in control.xml. So far, I see these possible solutions: 1. do not check for base product in inst_addon_update_sources step 2. switch the order of these 2 steps, so 1st would be predefined sources, and only later possibly the ones from proucts (if they are not registered already). 2 is easier code-wise, but I'm not sure if we'd not run into some other problem... Ludwig, could you try second option, switching steps in control file? If not during normal installation, you can do it in /etc/YaST/control.xml of installed system, delete your current repositories, touch /var/lib/YaST/runme_at_boot and run 2nd stage again... Switching the two modules via control.xml results in repo-update indeed. That doesn't really fix the issue of yast picking a rather inconvenient alias for the repo though. What about setting the alias of the repo according to the 'name' tag of the url and only using the generated pretty name for the 'name' tag of the repo? Created attachment 497772 [details]
patch for /usr/share/YaST2/clients/inst_addon_update_sources.ycp
Try patching inst_addon_update_sources.ycp and see if this result is good enough.
(It should create repo with 'update-openSUSE-12.2' alias)
better than the translated string before I guess. than it is fixed This is an autogenerated message for OBS integration: This bug (768624) was mentioned in https://build.opensuse.org/request/show/127695 Factory / yast2-installation |