diff options
Diffstat (limited to 'contrib/Raspberry_armhf/haveged-switch-root.service')
-rw-r--r-- | contrib/Raspberry_armhf/haveged-switch-root.service | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/contrib/Raspberry_armhf/haveged-switch-root.service b/contrib/Raspberry_armhf/haveged-switch-root.service new file mode 100644 index 0000000..a3eb086 --- /dev/null +++ b/contrib/Raspberry_armhf/haveged-switch-root.service @@ -0,0 +1,18 @@ +[Unit] +Description=Tell haveged about new root +DefaultDependencies=no +ConditionKernelVersion=<5.6 +ConditionPathExists=/etc/initrd-release +Before=initrd-switch-root.service +JoinsNamespaceOf=haveged.service + +[Service] +ExecStart=-@SBIN_DIR@/haveged -c root=/sysroot +PrivateNetwork=yes +Type=oneshot +StandardInput=null +StandardOutput=null +StandardError=null + +[Install] +WantedBy=initrd-switch-root.target |