rngd: Use upstream service file

Our custom service file is outdated and show sometimes errors during
startup.

It was created at time where the upstream recipe did not support
systemd.

BugzID: 65497
This commit is contained in:
Alexandre Bard 2020-08-13 16:03:06 +02:00 committed by Gitea
parent 6197a678b9
commit 1dfca402a9
2 changed files with 0 additions and 23 deletions

View File

@ -1,11 +0,0 @@
[Unit]
Description=Random number generator
[Service]
Type=forking
ExecStart=/usr/sbin/rngd
PIDFile=/var/run/rngd.pid
KillSignal=SIGQUIT
[Install]
WantedBy=multi-user.target

View File

@ -1,12 +0,0 @@
inherit systemd
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI_append = " file://rngd.service"
SYSTEMD_SERVICE_${PN} = "rngd.service"
do_install_append() {
install -d ${D}/lib/systemd/system
install -m 644 ${WORKDIR}/rngd.service ${D}/lib/systemd/system/
}