From d5a2d9d054d59d162ba5b5699756e92d41d94b6b Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Mon, 19 Nov 2012 17:52:16 +0100 Subject: [PATCH] vm: load dummy-hcd module to suppress libusb bug libusb crashes when no USB controller is present, load dummy-hcd as workaround. --- misc/qubes_misc.modules | 1 + rpm_spec/core-vm.spec | 2 ++ 2 files changed, 3 insertions(+) create mode 100755 misc/qubes_misc.modules diff --git a/misc/qubes_misc.modules b/misc/qubes_misc.modules new file mode 100755 index 0000000..4af1be3 --- /dev/null +++ b/misc/qubes_misc.modules @@ -0,0 +1 @@ +modprobe dummy-hcd 2>/dev/null || true diff --git a/rpm_spec/core-vm.spec b/rpm_spec/core-vm.spec index c48fce2..61d244c 100644 --- a/rpm_spec/core-vm.spec +++ b/rpm_spec/core-vm.spec @@ -133,6 +133,7 @@ fi install misc/dispvm-prerun.sh $RPM_BUILD_ROOT/usr/lib/qubes/dispvm-prerun.sh install -D misc/qubes_core.modules $RPM_BUILD_ROOT/etc/sysconfig/modules/qubes_core.modules +install -D misc/qubes_misc.modules $RPM_BUILD_ROOT/etc/sysconfig/modules/qubes_misc.modules install -m 0644 network/qubes_network.rules $RPM_BUILD_ROOT/etc/udev/rules.d/99-qubes_network.rules install network/qubes_setup_dnat_to_ns $RPM_BUILD_ROOT/usr/lib/qubes @@ -380,6 +381,7 @@ rm -rf $RPM_BUILD_ROOT /etc/sysconfig/iptables /etc/sysconfig/ip6tables /etc/sysconfig/modules/qubes_core.modules +/etc/sysconfig/modules/qubes_misc.modules /etc/tinyproxy/filter-qubes-yum /etc/tinyproxy/tinyproxy-qubes-yum.conf /etc/udev/rules.d/50-qubes_memory.rules