Skip to content

Commit

Permalink
Merge 8442ba7 into 6570b49
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Mar 22, 2022
2 parents 6570b49 + 8442ba7 commit 627944c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
7 changes: 7 additions & 0 deletions package/yast2-registration.changes
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Mar 22 15:08:21 UTC 2022 - Ladislav Slezák <lslezak@suse.cz>

- Fixed migration rollback in Leap => SLES migration
(related to jsc#SLE-17309)
- 4.4.18

-------------------------------------------------------------------
Mon Feb 28 08:33:10 UTC 2022 - David Diaz <dgonzalez@suse.com>

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-registration.spec
Expand Up @@ -17,7 +17,7 @@


Name: yast2-registration
Version: 4.4.17
Version: 4.4.18
Release: 0
Summary: YaST2 - Registration Module
License: GPL-2.0-only
Expand Down
6 changes: 4 additions & 2 deletions src/lib/registration/ui/registration_sync_workflow.rb
Expand Up @@ -43,11 +43,13 @@ def initialize
# workaround for rollback from the Leap => SLES migration,
# maps installed => activated product
SYNC_FALLBACKS = {
"openSUSE" => "SLES"
"openSUSE" => "SLES",
# openSUSE Leap 15.3 and newer
"Leap" => "SLES"
}.freeze

# restore the registration status
# @return [Symbol] :next on sucess, :abort on error
# @return [Symbol] :next on success, :abort on error
def run_sequence
log.info "Restoring the original repository and registration status..."

Expand Down

0 comments on commit 627944c

Please sign in to comment.