Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(rngd): install system service file #2442

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions modules.d/06rngd/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,13 @@ depends() {

install() {
inst rngd
inst_simple "${moddir}/rngd.service" "${systemdsystemunitdir}/rngd.service"
# make sure dependent libs are installed too
inst_simple "${systemdsystemunitdir}/rngd.service"

if [ -r /etc/sysconfig/rngd ]; then
inst_simple "${moddir}/sysconfig" "/etc/sysconfig/rngd"
fi

# make sure dependant libs are installed too
inst_libdir_file opensc-pkcs11.so

$SYSTEMCTL -q --root "$initdir" add-wants sysinit.target rngd.service
Expand Down
8 changes: 0 additions & 8 deletions modules.d/06rngd/rngd.service

This file was deleted.

1 change: 1 addition & 0 deletions modules.d/06rngd/sysconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
RNGD_ARGS="-x pkcs11 -x nist"
Loading