diff options
-rw-r--r-- | meta-phosphor/recipes-support/rng-tools/rng-tools/rngd.service | 8 | ||||
-rw-r--r-- | meta-phosphor/recipes-support/rng-tools/rng-tools_%.bbappend | 17 |
2 files changed, 0 insertions, 25 deletions
diff --git a/meta-phosphor/recipes-support/rng-tools/rng-tools/rngd.service b/meta-phosphor/recipes-support/rng-tools/rng-tools/rngd.service deleted file mode 100644 index 7b0e9a71f..000000000 --- a/meta-phosphor/recipes-support/rng-tools/rng-tools/rngd.service +++ /dev/null @@ -1,8 +0,0 @@ -[Unit] -Description=Hardware RNG Entropy Gatherer Daemon - -[Service] -ExecStart=@SBINDIR@/rngd -f - -[Install] -WantedBy=multi-user.target diff --git a/meta-phosphor/recipes-support/rng-tools/rng-tools_%.bbappend b/meta-phosphor/recipes-support/rng-tools/rng-tools_%.bbappend deleted file mode 100644 index cda8e0b51..000000000 --- a/meta-phosphor/recipes-support/rng-tools/rng-tools_%.bbappend +++ /dev/null @@ -1,17 +0,0 @@ - -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" - -SRC_URI += "file://rngd.service" - -inherit systemd - -SYSTEMD_SERVICE_${PN} = "rngd.service" - -do_install_append() { - if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then - install -d ${D}${systemd_unitdir}/system - install -m 644 ${WORKDIR}/rngd.service ${D}${systemd_unitdir}/system - sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_unitdir}/system/rngd.service - fi -} - |