package/rng-tools: add systemd support for rngd
authorMaxim Mikityanskiy <maxtram95@gmail.com>
Mon, 19 Jan 2015 16:14:16 +0000 (18:14 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 22 Apr 2015 20:07:26 +0000 (22:07 +0200)
commit22cb51e1a2cdff07f220d7519d05934f6ce1bf2c
treea90851e182682ec501d2b039a875825295a1abec
parentd3230923e62f57cdefa90b5ffb9760f39c94718e
package/rng-tools: add systemd support for rngd

Add rngd.service for systemd. Also patch rngd with patch from Fedora to
ignore failure if no hwrng present:
https://bugzilla.redhat.com/show_bug.cgi?id=892178

[Thomas:
 - rename patch to the proper naming convention
 - add description and SoB to patch
 - install service file to /usr/lib/systemd and not /lib/systemd
 - use a relative symbolic link instead of an absolute one]

Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/rng-tools/0001-rngd-exit-code.patch [new file with mode: 0644]
package/rng-tools/rng-tools.mk
package/rng-tools/rngd.service [new file with mode: 0644]