diff options
author | Jirka Hladky <jhladky@redhat.com> | 2021-10-28 20:47:35 +0200 |
---|---|---|
committer | Jirka Hladky <jhladky@redhat.com> | 2021-10-28 20:47:35 +0200 |
commit | a5fed5a2e552fd297f9276a8762736eec6b39023 (patch) | |
tree | 4878ca57f68871f98cb755bbe8fa40d7b13744e1 /contrib/Kali_Linux_Raspberry_armhf/haveged-switch-root.service | |
parent | Renamed Kali_Linux_raspberry to Raspberry_armhf. See https://github.com/jirka... (diff) | |
download | haveged-a5fed5a2e552fd297f9276a8762736eec6b39023.tar.xz haveged-a5fed5a2e552fd297f9276a8762736eec6b39023.zip |
Renamed Kali_Linux_raspberry to Kali_Linux_Raspberry_armhf. See https://github.com/jirka-h/haveged/issues/63
Diffstat (limited to 'contrib/Kali_Linux_Raspberry_armhf/haveged-switch-root.service')
-rw-r--r-- | contrib/Kali_Linux_Raspberry_armhf/haveged-switch-root.service | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/contrib/Kali_Linux_Raspberry_armhf/haveged-switch-root.service b/contrib/Kali_Linux_Raspberry_armhf/haveged-switch-root.service new file mode 100644 index 0000000..a3eb086 --- /dev/null +++ b/contrib/Kali_Linux_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 |