chiark / gitweb /
machinectl: add new command to spawn a getty inside a container
[elogind.git] / rules / 75-tty-description.rules
index 83083d9..11277b7 100644 (file)
@@ -7,7 +7,6 @@ SUBSYSTEMS=="usb", IMPORT{builtin}="usb_id", IMPORT{builtin}="hwdb --subsystem=u
 SUBSYSTEMS=="usb", GOTO="tty_end"
 
 SUBSYSTEMS=="pci", ENV{ID_BUS}="pci", ENV{ID_VENDOR_ID}="$attr{vendor}", ENV{ID_MODEL_ID}="$attr{device}"
-
-IMPORT{builtin}="hwdb"
+SUBSYSTEMS=="pci", IMPORT{builtin}="hwdb --subsystem=pci"
 
 LABEL="tty_end"