Skip to content

Commit

Permalink
reinitialize the target to sync the libzypp repomanager
Browse files Browse the repository at this point in the history
so the online repositories are correctly written during update (bnc#847659)

- 3.0.8
  • Loading branch information
lslezak committed Nov 6, 2013
1 parent 7389c5c commit 27dedba
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
3.0.7
3.0.8
8 changes: 8 additions & 0 deletions package/yast2-packager.changes
@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Nov 6 13:41:42 UTC 2013 - lslezak@suse.cz

- reinitialize the target to sync the libzypp repomanager
so the online repositories are correctly written during update
(bnc#847659)
- 3.0.8

-------------------------------------------------------------------
Mon Nov 4 11:37:42 UTC 2013 - lslezak@suse.cz

Expand Down
4 changes: 4 additions & 0 deletions src/clients/pkg_finish.rb
Expand Up @@ -185,6 +185,10 @@ def BackUpAllTargetSources

Builtins.y2milestone("All old repositories were removed from the target")

# reload the target to sync the removed repositories with libzypp repomanager
Pkg.TargetFinish
Pkg.TargetInitialize("/mnt")

nil
end
end
Expand Down

0 comments on commit 27dedba

Please sign in to comment.