]> git.ipfire.org Git - thirdparty/plymouth.git/commit
systemd: more udev clean ups
authorRay Strode <rstrode@redhat.com>
Wed, 20 Jun 2012 15:57:06 +0000 (11:57 -0400)
committerRay Strode <rstrode@redhat.com>
Wed, 20 Jun 2012 15:57:06 +0000 (11:57 -0400)
commit675553481d3335fe00bc70adebdee526be2bd90c
tree0c420808c74f7f0af3cb75430115fdd070b17ebe
parentb8031858cd2e1e8b47e577bc69443777921a65cd
systemd: more udev clean ups

The udev trigger calls that are there, are actually
spurious.  udev will coldplug those subsystems at
start up anyway, so doing it explicitly is wrong.

This commit drops those trigger calls.

What does matter is the udevadm settle call. It's
what makes things block until the graphics driver
is loaded.

udevadm settle is a big sledgehammer, though. It blocks
until all the triggered events (even stuff unrelated to
graphics) are finished.

This commit adds a --exit-if-exists argument to udevadm settle,
so it will bail early as soon as the graphics devices
are up.
systemd-units/plymouth-start.service.in