Skip to content

Commit

Permalink
Merge pull request #416 from yast/fixed_restart
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Jan 17, 2019
2 parents fd89e9f + 47c21ab commit eb4b294
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions package/yast2-registration.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Jan 17 15:08:40 UTC 2019 - lslezak@suse.cz

- Save the current repository configuration so it is properly
restored after restarting the package manager (bsc#1122011)
- 4.1.14

-------------------------------------------------------------------
Wed Jan 16 08:53:13 UTC 2019 - lslezak@suse.cz

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-registration.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: yast2-registration
Version: 4.1.13
Version: 4.1.14
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
2 changes: 2 additions & 0 deletions src/lib/registration/sw_mgmt.rb
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,8 @@ def self.target_distribution(destdir)
target_distro = base_products ? base_products.first["register_target"] : ""
log.info "Base product target distribution: #{target_distro.inspect}"

# Save the current repositories so they are not lost
Pkg.SourceSaveAll
# close both target and sources to fully reinitialize later
Pkg.SourceFinishAll
Pkg.TargetFinish
Expand Down

0 comments on commit eb4b294

Please sign in to comment.