]> git.ipfire.org Git - thirdparty/plymouth.git/commit
systemd: add --subsystem=pci to udevadm trigger call
authorRay Strode <rstrode@redhat.com>
Wed, 20 Jun 2012 14:41:59 +0000 (10:41 -0400)
committerRay Strode <rstrode@redhat.com>
Wed, 20 Jun 2012 14:48:26 +0000 (10:48 -0400)
commitcf90d3c7faa1499c2ce239cde68873302b411d74
tree0a16ead03d00896fa4f66fc336ef9ceea46295d5
parent57fab85b2642f6171dcdef5e7066c2c29b0a39bd
systemd: add --subsystem=pci to udevadm trigger call

plymouth-start.service does this sort of hacky
"udevadm trigger" call before doing plymouth show-splash,
to ensure plymouth show-splash is called after the
graphcis subsystem is up.  Because this udev trigger call
only passes --subsystem-match calls with no corresponding
--subsystem call, it will trawl through all subsystems in
/sys rather than just the pci subsystem (where all the matches
are guaranteed to be).

This commit adds --subsystem=pci to stop doing that extra work.

All of this will eventually be replaced with plymouthd either
listening for the udev  events itself (or potentially logind,
if logind gains a way to tag a "graphics" capability on a seat).
systemd-units/plymouth-start.service.in