I am looking to speed up the boot time on my Raspberry pi and systemd-random-seed
is taking 20s (old Pi 1). From what I've read up this is waiting to collect entropy to generate a system random seed. I don't care whatsoever about security and I'm wondering if there is some way to hard-code this, disable it, or otherwise make it not take so ridiculously long to boot?
I tried just running systemctl disable systemd-random-seed
to see what would happen and it still ran at boot, so evidently it's being started by another service or something.
I also tried adding random.trust_cpu=on
to cmdline.txt based on something I read, but it seems to have done nothing.
I'm completely new to Linux and raspberry if that wasn't already obvious, so sorry if it's a dumb question a requires a dumb answer... I attempted to look through the man page and it's completely over my head (wasn't sure how to translate that into the boot process).
systemd-analyze plot
and this service was by far the slowest. So far as I know that is the best way to time boot services... As to WHY, I am working on a camera controller and I want it to boot as quickly as possible because this is a set-up I will be carrying on film sets (not sitting at home or in a server room or something).