vm: load dummy-hcd module to suppress libusb bug
libusb crashes when no USB controller is present, load dummy-hcd as workaround.
This commit is contained in:
parent
85638ae0d6
commit
3a3e265d1d
1
misc/qubes_misc.modules
Executable file
1
misc/qubes_misc.modules
Executable file
@ -0,0 +1 @@
|
|||||||
|
modprobe dummy-hcd 2>/dev/null || true
|
@ -133,6 +133,7 @@ fi
|
|||||||
install misc/dispvm-prerun.sh $RPM_BUILD_ROOT/usr/lib/qubes/dispvm-prerun.sh
|
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_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 -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
|
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/iptables
|
||||||
/etc/sysconfig/ip6tables
|
/etc/sysconfig/ip6tables
|
||||||
/etc/sysconfig/modules/qubes_core.modules
|
/etc/sysconfig/modules/qubes_core.modules
|
||||||
|
/etc/sysconfig/modules/qubes_misc.modules
|
||||||
/etc/tinyproxy/filter-qubes-yum
|
/etc/tinyproxy/filter-qubes-yum
|
||||||
/etc/tinyproxy/tinyproxy-qubes-yum.conf
|
/etc/tinyproxy/tinyproxy-qubes-yum.conf
|
||||||
/etc/udev/rules.d/50-qubes_memory.rules
|
/etc/udev/rules.d/50-qubes_memory.rules
|
||||||
|
Loading…
Reference in New Issue
Block a user