Skip to content

Commit

Permalink
Rebuild the RPM database during upgrade (--rebuilddb) (bsc#1209565)
Browse files Browse the repository at this point in the history
- 4.4.44
  • Loading branch information
lslezak committed Apr 13, 2023
1 parent 37481c5 commit 5387a13
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
6 changes: 6 additions & 0 deletions package/autoyast2.changes
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Apr 13 08:43:39 UTC 2023 - Ladislav Slezák <lslezak@suse.com>

- Rebuild the RPM database during upgrade (--rebuilddb) (bsc#1209565)
- 4.4.44

-------------------------------------------------------------------
Tue Nov 8 15:52:04 UTC 2022 - Josef Reidinger <jreidinger@suse.com>

Expand Down
6 changes: 3 additions & 3 deletions package/autoyast2.spec
Expand Up @@ -22,7 +22,7 @@
%endif

Name: autoyast2
Version: 4.4.43
Version: 4.4.44
Release: 0
Summary: YaST2 - Automated Installation
License: GPL-2.0-only
Expand Down Expand Up @@ -134,8 +134,8 @@ Requires: yast2-transfer >= 2.21.0
# storage-ng based version
Requires: yast2-update >= 3.3.0
Requires: yast2-xml
# RPM dependencies in Pkg.Resolvables
Requires: yast2-pkg-bindings >= 4.3.0
# Pkg.TargetInitializeOptions with "rebuild_db" option
Requires: yast2-pkg-bindings >= 4.4.6
Requires: yast2-ruby-bindings >= 1.0.0
# bsc#1185095
Recommends: (icewm if libyui-qt)
Expand Down
4 changes: 3 additions & 1 deletion src/lib/autoinstall/clients/inst_autosetup_upgrade.rb
Expand Up @@ -309,7 +309,9 @@ def software_upgrade
# initialize target
PackageCallbacks.SetConvertDBCallbacks

Pkg.TargetInit(Installation.destdir, false)
Pkg.TargetInitializeOptions(Installation.destdir,
# enable DB rebuild at upgrade (bsc#1209565)
"rebuild_db" => true)

# read old and new product
Update.GetProductName
Expand Down

0 comments on commit 5387a13

Please sign in to comment.