Skip to content

Commit

Permalink
Merge pull request os-autoinst#18160 from hjluo/zypper-migration-plugin
Browse files Browse the repository at this point in the history
Skip zypper-migration-plugin for sles15sp3
  • Loading branch information
lemon-suse authored Nov 20, 2023
2 parents 462da0c + e3cf2dd commit 86949de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/migration/online_migration/pre_migration.pm
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ sub check_or_install_packages {
if (get_var("FULL_UPDATE") || get_var("MINIMAL_UPDATE")) {
# if system is fully updated or even minimal patch applied,
# all necessary packages for online migration should be installed
# and zypper-migration-plugin was obsoleted since 15sp4.
# and zypper-migration-plugin was obsoleted since 15sp3.
my @pkgs = qw(yast2-migration rollback-helper);
push @pkgs, "zypper-migration-plugin" if is_sle('<15-SP4', get_var('ORIGIN_SYSTEM_VERSION'));
push @pkgs, "zypper-migration-plugin" if is_sle('<15-SP3', get_var('ORIGIN_SYSTEM_VERSION'));
assert_script_run("rpm -q $_") foreach @pkgs;
} else {
# install necessary packages for online migration if system is not updated
Expand Down

0 comments on commit 86949de

Please sign in to comment.