Skip to content

Commit

Permalink
Merge pull request #1129 from yast/init_fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Jan 13, 2021
2 parents 1621c50 + 0304cf1 commit 183cdeb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions library/control/src/modules/WorkflowManager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1678,10 +1678,10 @@ def fetch_package(repo_id, package, dir)
downloader = ::Packages::PackageDownloader.new(repo_id, package)

Tempfile.open("downloaded-package-") do |tmp|
# libzypp needs the target for verifying the GPG signatures of the downloaded packages
# libzypp needs the target for verifying the GPG signatures of the downloaded packages,
# keep the target initialized, it might be needed later for verifying other packages
Pkg.TargetInitialize("/") if Stage.initial
downloader.download(tmp.path)
Pkg.TargetFinish() if Stage.initial

extract(tmp.path, dir)
# the RPM package file is not needed after extracting it's content,
Expand Down
7 changes: 7 additions & 0 deletions package/yast2.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Jan 13 16:03:51 UTC 2021 - Ladislav Slezák <lslezak@suse.cz>

- Keep the libzypp target open to verify other packages
(bsc#1180858, related to the previous fix bsc#1179773)
- 4.2.90

-------------------------------------------------------------------
Mon Jan 11 13:20:55 UTC 2021 - Ladislav Slezák <lslezak@suse.cz>

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


Name: yast2
Version: 4.2.89
Version: 4.2.90
Release: 0
Summary: YaST2 Main Package
License: GPL-2.0-only
Expand Down

0 comments on commit 183cdeb

Please sign in to comment.