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

Do not schedule enable_usb_repo when no usb repo is available #6375

Merged
merged 1 commit into from Dec 10, 2018
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
6 changes: 5 additions & 1 deletion lib/main_common.pm
Expand Up @@ -1082,7 +1082,11 @@ sub load_consoletests {
loadtest "console/xorg_vt";
}
loadtest "console/zypper_lr";
loadtest 'console/enable_usb_repo' if check_var('USBBOOT', 1);
# Enable installation repo from the usb, unless we boot from USB, but don't use it
# for the installation, like in case of LiveCDs and when using http/smb/ftp mirror
if (check_var('USBBOOT', 1) && !is_livecd && !get_var('NETBOOT')) {
loadtest 'console/enable_usb_repo';
}

# Do not clear repos twice if replace repos for openSUSE
# On staging repos are already removed, using CLEAR_REPOS flag variable
Expand Down