systemd: Save random seed during powercycle

This allows us to better keep track of the last system time and
randomness information during subsequent "reboots".

Change-Id: I80235e6af2f87b9a28e6052f6890d6288f03d632
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/gbmc-psu-hardreset-pre.target b/gbmc-psu-hardreset-pre.target
index d7aa2a2..fd3d67d 100644
--- a/gbmc-psu-hardreset-pre.target
+++ b/gbmc-psu-hardreset-pre.target
@@ -3,3 +3,4 @@
 StopWhenUnneeded=true
 Wants=gbmc-psu-hardreset-time.service
 After=gbmc-psu-hardreset-time.service
+Before=systemd-random-seed.service
diff --git a/gbmc-psu-hardreset-time.service b/gbmc-psu-hardreset-time.service
index 9c98eec..2d45ee8 100644
--- a/gbmc-psu-hardreset-time.service
+++ b/gbmc-psu-hardreset-time.service
@@ -1,4 +1,3 @@
-
 [Unit]
 Description=Power Cycle Delay
 
diff --git a/gbmc-psu-hardreset.target b/gbmc-psu-hardreset.target
index 4b9133d..4fd706a 100644
--- a/gbmc-psu-hardreset.target
+++ b/gbmc-psu-hardreset.target
@@ -3,3 +3,5 @@
 StopWhenUnneeded=true
 Wants=gbmc-psu-hardreset-pre.target
 After=gbmc-psu-hardreset-pre.target
+Conflicts=systemd-random-seed.service
+After=systemd-random-seed.service