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/NEWS | 2 ++ perl-install/install/install2.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 77732524a..d84d8e61c 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,5 @@ +- fix local install on systems without usb + Version 17.93 - 19 January 2018 - sync with kernel 4.14 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