Skip to content

Commit

Permalink
Merge pull request #114 from yast/huha-15-6-qr
Browse files Browse the repository at this point in the history
Disable YaST Installer Self-Update on SLE-15-SP6 QR media
  • Loading branch information
shundhammer authored Jul 8, 2024
2 parents 7fd2c45 + 8f6e4ee commit 5217533
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 3 deletions.
6 changes: 6 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ require "yast/rake"
Yast::Tasks.submit_to :sle15sp6

Yast::Tasks.configuration do |conf|
# submit to the specific QR project, not to standard SP6
conf.obs_api = "https://api.suse.de"
conf.obs_target = "SUSE_SLE-15-SP6_Update_QR"
conf.obs_sr_project = "SUSE:SLE-15-SP6:Update:QR"
conf.obs_project = "Devel:YaST:SLE-15-SP6-QR"

# lets ignore license check for now
conf.skip_license_check << /.*/
end
Expand Down
23 changes: 21 additions & 2 deletions control/control.leanos.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,15 @@ textdomain="control"
</service>
</services_proposal>

<!-- Note: the self update step ("update_installer") is disabled
for quarterly media respins, the data below would be ignored anyway. -->

<!-- self-update URL -->
<!-- $os_release_version will be replaced by VERSION defined in /etc/os-release file (inst-sys). -->
<!-- $arch will be replaced by the machine architecture. -->
<self_update_url>https://installer-updates.suse.com/SUSE/Updates/SLE-INSTALLER/$os_release_version/$arch/update</self_update_url>
<!-- <self_update_url>https://installer-updates.suse.com/SUSE/Updates/SLE-INSTALLER/$os_release_version/$arch/update</self_update_url> -->
<!-- self-update ID. SCC recognize for SLE15 ID SLES -->
<self_update_id>SLES</self_update_id>
<!-- <self_update_id>SLES</self_update_id> -->

<!-- Information about required media if the user has skipped the registration -->
<!-- $os_release_version will be replaced by VERSION defined in /etc/os-release file (inst-sys). -->
Expand Down Expand Up @@ -521,10 +524,14 @@ Please visit us at http://www.suse.com/.
<name>setup_dhcp</name>
</module>
<!-- As soon as possible but after network is initialized -->
<!-- Disabled for quarterly media respins, there is in an updated inst-sys
which might contain newer packages than the self update repository -->
<!--
<module>
<label>Installer Update</label>
<name>update_installer</name>
</module>
-->
<module>
<name>complex_welcome</name>
<label>Welcome</label>
Expand Down Expand Up @@ -593,10 +600,14 @@ Please visit us at http://www.suse.com/.
<name>setup_dhcp</name>
</module>
<!-- As soon as possible but after network is initialized -->
<!-- Disabled for quarterly media respins, there is in an updated inst-sys
which might contain newer packages than the self update repository -->
<!--
<module>
<label>Installer Update</label>
<name>update_installer</name>
</module>
-->
<module>
<name>complex_welcome</name>
<label>Welcome</label>
Expand Down Expand Up @@ -716,12 +727,16 @@ Please visit us at http://www.suse.com/.
<name>install_inf</name>
</module>
<!-- As soon as possible -->
<!-- Disabled for quarterly media respins, there is in an updated inst-sys
which might contain newer packages than the self update repository -->
<!--
<module>
<label>Installer Update</label>
<name>update_installer</name>
<enable_back>no</enable_back>
<enable_next>yes</enable_next>
</module>
-->
<!-- bsc#1047060: Module used only to display a beta warning in case README.BETA
file exists. Other than that, the module is completely skipped in auto mode -->
<module>
Expand Down Expand Up @@ -756,12 +771,16 @@ Please visit us at http://www.suse.com/.
<stage>initial</stage>
<modules config:type="list">
<!-- As soon as possible -->
<!-- Disabled for quarterly media respins, there is in an updated inst-sys
which might contain newer packages than the self update repository -->
<!--
<module>
<label>Installer Update</label>
<name>update_installer</name>
<enable_back>no</enable_back>
<enable_next>yes</enable_next>
</module>
-->
<!-- bsc#1047060: Module used only to display a beta warning in case README.BETA
file exists. Other than that, the module is completely skipped in auto mode -->
<module>
Expand Down
6 changes: 6 additions & 0 deletions package/skelcd-control-leanos.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jul 8 12:10:36 UTC 2024 - Stefan Hundhammer <[email protected]>

- Disable installer self-update for QR media (bsc#1227503)
- 15.6.4.1

-------------------------------------------------------------------
Wed Mar 13 13:39:00 UTC 2024 - Ladislav Slezák <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion package/skelcd-control-leanos.spec
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Requires: sap-installation-wizard

URL: https://github.com/yast/skelcd-control-leanos
AutoReqProv: off
Version: 15.6.4
Version: 15.6.4.1
Release: 0
Summary: Leanos control file needed for installation
License: MIT
Expand Down

0 comments on commit 5217533

Please sign in to comment.