aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-03-31 17:10:37 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2016-04-12 11:07:45 +0200
commite17dcc131d24ab3eb0c89713292152e702ef23a0 (patch)
treeaff91ee6c8c8eddd854ba4f00bacc25b76a53d3a
parentaf7c9165fc3a450eb56ce2475379a33a2d6b850d (diff)
downloadmeta-openembedded-contrib-e17dcc131d24ab3eb0c89713292152e702ef23a0.tar.gz
meta-openembedded-contrib-e17dcc131d24ab3eb0c89713292152e702ef23a0.tar.bz2
meta-openembedded-contrib-e17dcc131d24ab3eb0c89713292152e702ef23a0.zip
rng-tools: Delete
its moved to OE-Core Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-oe/recipes-support/rng-tools/files/default3
-rw-r--r--meta-oe/recipes-support/rng-tools/files/init49
-rw-r--r--meta-oe/recipes-support/rng-tools/rng-tools_4.bb36
3 files changed, 0 insertions, 88 deletions
diff --git a/meta-oe/recipes-support/rng-tools/files/default b/meta-oe/recipes-support/rng-tools/files/default
deleted file mode 100644
index 7aede9be03..0000000000
--- a/meta-oe/recipes-support/rng-tools/files/default
+++ /dev/null
@@ -1,3 +0,0 @@
-# Specify rng device
-#RNG_DEVICE=/dev/hwrng
-RNG_DEVICE=/dev/urandom
diff --git a/meta-oe/recipes-support/rng-tools/files/init b/meta-oe/recipes-support/rng-tools/files/init
deleted file mode 100644
index 7cf78393a4..0000000000
--- a/meta-oe/recipes-support/rng-tools/files/init
+++ /dev/null
@@ -1,49 +0,0 @@
-#! /bin/sh
-#
-# This is an init script for openembedded
-# Copy it to /etc/init.d/rng-tools and type
-# > update-rc.d rng-tools defaults 60
-#
-
-rngd=/usr/sbin/rngd
-test -x "$rngd" || exit 1
-
-if [ -e /etc/default/rng-tools ]; then
- . /etc/default/rng-tools
-fi
-
-if [ -n "$RNG_DEVICE" ]; then
- EXTRA_ARGS="-- -r $RNG_DEVICE"
-fi
-
-
-case "$1" in
- start)
- echo -n "Starting random number generator daemon"
- start-stop-daemon -S -q -x $rngd $EXTRA_ARGS
- echo "."
- ;;
- stop)
- echo -n "Stopping random number generator daemon"
- start-stop-daemon -K -q -n rngd
- echo "."
- ;;
- reload|force-reload)
- echo -n "Signalling rng daemon restart"
- start-stop-daemon -K -q -s 1 -x $rngd
- start-stop-daemon -K -q -s 1 -x $rngd
- ;;
- restart)
- echo -n "Stopping random number generator daemon"
- start-stop-daemon -K -q -n rngd
- echo "."
- echo -n "Starting random number generator daemon"
- start-stop-daemon -S -q -x $rngd $EXTRA_ARGS
- echo "."
- ;;
- *)
- echo "Usage: /etc/init.d/rng-tools {start|stop|reload|restart|force-reload}"
- exit 1
-esac
-
-exit 0
diff --git a/meta-oe/recipes-support/rng-tools/rng-tools_4.bb b/meta-oe/recipes-support/rng-tools/rng-tools_4.bb
deleted file mode 100644
index 34a3f95fdf..0000000000
--- a/meta-oe/recipes-support/rng-tools/rng-tools_4.bb
+++ /dev/null
@@ -1,36 +0,0 @@
-SUMMARY = "Random number generator daemon"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
-DEPENDS_append_libc-uclibc = " argp-standalone"
-
-SRC_URI = "http://heanet.dl.sourceforge.net/sourceforge/gkernel/${BP}.tar.gz \
- file://init \
- file://default"
-
-SRC_URI[md5sum] = "ae89dbfcf08bdfbea19066cfbf599127"
-SRC_URI[sha256sum] = "b71bdfd4222c05e8316001556be90e1606f2a1bac3efde60153bd84e873cc195"
-
-# As the recipe doesn't inherit systemd.bbclass, we need to set this variable
-# manually to avoid unnecessary postinst/preinst generated.
-python () {
- if not bb.utils.contains('DISTRO_FEATURES', 'sysvinit', True, False, d):
- d.setVar("INHIBIT_UPDATERCD_BBCLASS", "1")
-}
-
-inherit autotools update-rc.d
-
-do_install_append() {
- # Only install the init script when 'sysvinit' is in DISTRO_FEATURES.
- if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
- install -d "${D}${sysconfdir}/init.d"
- install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/rng-tools
- sed -i -e 's,/etc/,${sysconfdir}/,' -e 's,/usr/sbin/,${sbindir}/,' \
- ${D}${sysconfdir}/init.d/rng-tools
-
- install -d "${D}${sysconfdir}/default"
- install -m 0644 ${WORKDIR}/default ${D}${sysconfdir}/default/rng-tools
- fi
-}
-
-INITSCRIPT_NAME = "rng-tools"
-INITSCRIPT_PARAMS = "start 30 S . stop 30 0 6 1 ."