]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
rng-tools: Replace obsolete "wants systemd-udev-settle"
authorDrew Moseley <drew@moseleynet.net>
Thu, 4 Aug 2022 15:09:52 +0000 (11:09 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 10 Aug 2022 07:33:43 +0000 (08:33 +0100)
commitd43e283d749ddd8fd6722411d051f0e505054c6f
treee69b1d37959d2a3f7a73193e91e46d4b09873754
parent7865234fadf01a434d1f7097881b70905c1b8aa2
rng-tools: Replace obsolete "wants systemd-udev-settle"

The systemd-udev-settle service is listed as obsolete and does in
some cases result in a significant boot time.  Replace that with a
specific wait for the random source hardware device to be loaded.

Before this change:

   Startup finished in 4.025s (kernel) + 2min 13.236s (userspace) = 2min 17.262s
   multi-user.target reached after 2min 8.153s in userspace

After this change:

   Startup finished in 3.956s (kernel) + 13.294s (userspace) = 17.250s
   multi-user.target reached after 9.522s in userspace

Signed-off-by: Drew Moseley <drew@moseleynet.net>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/rng-tools/rng-tools/rng-tools.service