From 18e0d250179de2f06bc2e7980b081d0b257cc069 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Sat, 20 Jan 2018 21:51:55 +0000 Subject: Catch sys_kernel_debug failure for local install Some systems (for example some virtual machines) don't have any USB devices and the mounting fails as usbcore is not loaded. This is the case for every other call of it and just means USB devices don't get detected. --- perl-install/install/install2.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/install/install2.pm') diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm index cf8ff7da8..de9ee5217 100644 --- a/perl-install/install/install2.pm +++ b/perl-install/install/install2.pm @@ -391,7 +391,7 @@ sub init_local_install { push @::auto_steps, # 'selectLanguage', 'selectKeyboard', 'miscellaneous', 'selectInstallClass', 'doPartitionDisks', 'formatPartitions'; - fs::mount::sys_kernel_debug(''); #- do it now so that when_load doesn't do it + eval { fs::mount::sys_kernel_debug(''); }; #- do it now so that when_load doesn't do it $o->{nomouseprobe} = 1; $o->{mouse} = mouse::fullname2mouse('Universal|Any PS/2 & USB mice'); } -- cgit v1.2.1