Skip to content

Commit

Permalink
Fixed repository loading (bsc#1163081)
Browse files Browse the repository at this point in the history
- Do not remove the initial installation repository
- 4.2.17
  • Loading branch information
lslezak committed Feb 21, 2020
1 parent 7cb508f commit 6a331bf
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
7 changes: 7 additions & 0 deletions package/yast2-update.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Feb 21 09:06:01 UTC 2020 - Ladislav Slezák <lslezak@suse.cz>

- Fixed repository loading to not remove the initial installation
repository (bsc#1163081)
- 4.2.17

-------------------------------------------------------------------
Wed Feb 19 14:43:22 UTC 2020 - Ladislav Slezák <lslezak@suse.cz>

Expand Down
8 changes: 3 additions & 5 deletions package/yast2-update.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: yast2-update
Version: 4.2.16
Version: 4.2.17
Release: 0
Summary: YaST2 - Update
Group: System/YaST
Expand Down Expand Up @@ -50,8 +50,8 @@ Requires: yast2 >= 4.2.60
Requires: yast2-installation
# product_update_summary, product_update_warning
Requires: yast2-packager >= 4.2.33
# Pkg.TargetInitializeOptions()
Requires: yast2-pkg-bindings >= 3.1.14
# Improved Pkg.SourceRestore()
Requires: yast2-pkg-bindings >= 4.2.6
Requires: yast2-ruby-bindings >= 1.0.0
# use parallel gzip when crating backup (much faster)
Requires: pigz
Expand Down Expand Up @@ -118,7 +118,5 @@ Use this component if you wish to update your system.
%{yast_clientdir}/update.rb
%{yast_clientdir}/run_update.rb
%license COPYING
%doc %{yast_docdir}/README.md
%doc %{yast_docdir}/CONTRIBUTING.md

%changelog
6 changes: 2 additions & 4 deletions src/include/update/rootpart.rb
Original file line number Diff line number Diff line change
Expand Up @@ -508,11 +508,9 @@ def RootPartitionDialog(flavor)
end

if ret != :back
# force reloading the repositories
Yast::Pkg.SourceFinishAll
# load the repositories from the system
Yast::Pkg.SourceRestore

# remember the original repositories
# remember the original setup
Y2Packager::OriginalRepositorySetup.instance.read
end
end
Expand Down

0 comments on commit 6a331bf

Please sign in to comment.