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

Remove soft failure for bsc#1151373 #10334

Merged
merged 1 commit into from May 26, 2020
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
13 changes: 4 additions & 9 deletions lib/registration.pm
Expand Up @@ -372,16 +372,11 @@ sub _yast_scc_addons_handler {

sub skip_package_hub_if_necessary {
my ($addon) = @_;
my $skip_package_hub = 0;
if (is_sle('15-SP2+') && $addon eq 'phub') {
if (check_var('FLAVOR', 'Online')) {
record_soft_failure('bsc#1151373 - Missing or broken repository after registering module PackageHub');
jknphy marked this conversation as resolved.
Show resolved Hide resolved
} elsif (check_var('FLAVOR', 'Full')) {
record_info('Full media: no PHUB', 'Skipping Package Hub, it is not available on offline scenarios - bsc#1157659');
}
$skip_package_hub = 1;
if (is_sle('15-SP2+') && check_var('FLAVOR', 'Full') && $addon eq 'phub') {
record_info('Full media: no PHUB', 'Skipping Package Hub, it is not available on offline scenarios - bsc#1157659');
return 1;
}
return $skip_package_hub;
return 0;
}

sub process_scc_register_addons {
Expand Down