Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add allow vendor change for cases with packagehub and smt #14031

Merged
merged 1 commit into from Jan 18, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/migration/online_migration/zypper_migration.pm
@@ -1,6 +1,6 @@
# SLE online migration tests
#
# Copyright 2016-2021 SUSE LLC
# Copyright 2016-2022 SUSE LLC
# SPDX-License-Identifier: FSFAP

# Package: zypper, transactional-update
Expand Down Expand Up @@ -47,7 +47,7 @@ sub run {
if (is_sle_micro) {
script_run("(transactional-update migration; echo ZYPPER-DONE) | tee /dev/$serialdev", 0);
} else {
my $option = (is_leap_migration) ? " --allow-vendor-change " : " ";
my $option = (is_leap_migration) || (get_var("SCC_ADDONS") =~ /phub/) || (get_var("SMT_URL") =~ /smt/) ? " --allow-vendor-change " : " ";
script_run("(zypper migration $option; echo ZYPPER-DONE) |& tee /dev/$serialdev", 0);
}
# migration process take long time
Expand Down