]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
vconsole: skip unnecessary udev call for dummy device
authorMichal Soltys <soltys@ziu.info>
Fri, 21 Oct 2016 14:11:39 +0000 (16:11 +0200)
committerMichal Soltys <soltys@ziu.info>
Fri, 21 Oct 2016 14:30:27 +0000 (16:30 +0200)
In particular, the font copying has no chance of succeeding as
the required functionality is not implemented, see:

drivers/video/console/dummycon.c

src/vconsole/90-vconsole.rules.in

index 35b9ad5151a751746d8f8ecada14d1a5404448b3..84b4d575bd684d3ac0155acc9f96bfb029a7777c 100644 (file)
@@ -7,4 +7,4 @@
 
 # Each vtcon keeps its own state of fonts.
 #
-ACTION=="add", SUBSYSTEM=="vtconsole", KERNEL=="vtcon*", RUN+="@rootlibexecdir@/systemd-vconsole-setup"
+ACTION=="add", SUBSYSTEM=="vtconsole", KERNEL=="vtcon*", ATTR{name}!="*dummy device", RUN+="@rootlibexecdir@/systemd-vconsole-setup"