Bug 1186881 - relurl:// does not work for autoyast <self_update_url>
relurl:// does not work for autoyast <self_update_url>
Status: CONFIRMED
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Installation
Current
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: YaST Team
Jiri Srain
https://trello.com/c/Dj5M9Dhp
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-06-04 17:03 UTC by Luiz Angelo Daros de Luca
Modified: 2021-06-09 11:59 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luiz Angelo Daros de Luca 2021-06-04 17:03:07 UTC
An autoyast like this is not able to download installer updates

<profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns">
  <general>
    <self_update_url>
      <![CDATA[relurl://../installer-selfupdate/]]>     
    </self_update_url>
  </general> 
</profile>

It looks like relurl:// is not working for this case:

[Ruby] clients/inst_update_installer.rb(update_repositories):187 self-update repositories are [#<Installation::UpdateRepository> @uri="relurl://../installer-selfupdate/" @origin=:user]
[Ruby] clients/inst_update_installer.rb(add_repository):225 Adding update from #<Installation::UpdateRepository> @uri="relurl://../installer-selfupdate/" @origin=:user
[Pkg] PkgFunctions.cc(ExpandedUrl):570 URL 'relurl://../installer-selfupdate/' is not valid: Componente de host inválido '..'
[Ruby] installation/update_repository.rb(repo_status):353 Probed repository relurl://../installer-selfupdate/: 
[Ruby] installation/update_repository.rb(repo_status):359 Status of repository at relurl://../installer-selfupdate/ cannot be determined
[Ruby] installation/updates_manager.rb(rescue in add_repository):102 Update repository at relurl://../installer-selfupdate/ could not be read
relurl://../installer-selfupdate/

It would be nice to have a relative URL here
Comment 1 Imobach Gonzalez Sosa 2021-06-09 11:51:22 UTC
Hi Luiz,

Nice suggestion. I will move this bug report to our SCRUM board so we can implement it in the future (no promises about when it will happy, sorry).

Thanks a lot!

Regards,
Imo