shit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
# Coldplug devices that already existed before udevd started: replay "add"
|
||||
# uevents for subsystems then devices, and wait for processing to finish so
|
||||
# DRM/input nodes (and their autoloaded modules) are present before Weston.
|
||||
set -eu
|
||||
export PATH=/usr/bin:/usr/sbin:/bin:/sbin
|
||||
|
||||
udevadm trigger --action=add --type=subsystems
|
||||
udevadm trigger --action=add --type=devices
|
||||
udevadm settle || true
|
||||
|
||||
# Safety net for QEMU/virtio: ensure the virtio-gpu DRM driver is loaded even if
|
||||
# coldplug autoload missed it. (Input/evdev is built into the kernel.)
|
||||
modprobe virtio_gpu 2>/dev/null || true
|
||||
Reference in New Issue
Block a user