From: Roland Hieber <rhi@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Steffen Trumtrar <s.trumtrar@pengutronix.de>,
Roland Hieber <rhi@pengutronix.de>
Subject: [ptxdist] [PATCH 6/7] rng-tools: allow installing rngtest without rngd
Date: Mon, 7 Jun 2021 15:09:08 +0200 [thread overview]
Message-ID: <20210607130909.4836-6-rhi@pengutronix.de> (raw)
In-Reply-To: <20210607130909.4836-1-rhi@pengutronix.de>
Based on a patch by Steffen Trumtrar.
Cc: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
rules/rng-tools.in | 5 +++++
rules/rng-tools.make | 2 ++
2 files changed, 7 insertions(+)
diff --git a/rules/rng-tools.in b/rules/rng-tools.in
index 9345ab9fbafb..24bcd048f268 100644
--- a/rules/rng-tools.in
+++ b/rules/rng-tools.in
@@ -17,6 +17,11 @@ menuconfig RNG_TOOLS
if RNG_TOOLS
+config RNG_TOOLS_RNGD
+ bool
+ default y
+ prompt "install rngd"
+
config RNG_TOOLS_STARTSCRIPT
bool
default y
diff --git a/rules/rng-tools.make b/rules/rng-tools.make
index 6c81543ea09f..5d8a09cee153 100644
--- a/rules/rng-tools.make
+++ b/rules/rng-tools.make
@@ -41,7 +41,9 @@ $(STATEDIR)/rng-tools.targetinstall:
@$(call install_fixup, rng-tools,AUTHOR,"Andreas Pretzsch <apr@cn-eng.de>")
@$(call install_fixup, rng-tools,DESCRIPTION,"random number generator daemon - seed kernel random from hwrng")
+ifdef PTXCONF_RNG_TOOLS_RNGD
@$(call install_copy, rng-tools, 0, 0, 0755, -, /usr/sbin/rngd)
+endif
ifdef PTXCONF_RNG_TOOLS_STARTSCRIPT
@$(call install_alternative, rng-tools, 0, 0, 0755, /etc/init.d/rngd)
ifneq ($(call remove_quotes,$(PTXCONF_RNG_TOOLS_BBINIT_LINK)),)
--
2.29.2
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
next prev parent reply other threads:[~2021-06-07 13:10 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-07 13:09 [ptxdist] [PATCH 1/7] googletest: new package Roland Hieber
2021-06-07 13:09 ` [ptxdist] [PATCH 2/7] python3-pyro: " Roland Hieber
2021-06-16 10:35 ` [ptxdist] [APPLIED] " Michael Olbrich
2021-06-07 13:09 ` [ptxdist] [PATCH 3/7] host-extract-cert: version bump 0.1 -> 0.2 Roland Hieber
2021-06-16 10:35 ` [ptxdist] [APPLIED] " Michael Olbrich
2021-06-07 13:09 ` [ptxdist] [PATCH 4/7] ima-evm-utils: fix license statement Roland Hieber
2021-06-11 12:24 ` Michael Olbrich
2021-06-07 13:09 ` [ptxdist] [PATCH 5/7] ima-evm-utils: version bump 1.1 -> 1.2.1 Roland Hieber
2021-06-11 12:18 ` Michael Olbrich
2021-06-16 16:01 ` Roland Hieber
2021-06-17 6:44 ` Michael Olbrich
2021-06-17 6:47 ` Michael Olbrich
2021-06-17 7:08 ` Michael Olbrich
2021-06-17 13:01 ` Roland Hieber
2021-06-07 13:09 ` Roland Hieber [this message]
2021-06-16 10:35 ` [ptxdist] [APPLIED] rng-tools: allow installing rngtest without rngd Michael Olbrich
2021-06-07 13:09 ` [ptxdist] [PATCH 7/7] systemd: make hostnamed and quotacheck optional Roland Hieber
2021-06-11 8:04 ` Michael Olbrich
2021-06-16 16:14 ` Roland Hieber
2021-06-17 6:45 ` Michael Olbrich
2021-06-16 10:35 ` [ptxdist] [APPLIED] googletest: new package Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210607130909.4836-6-rhi@pengutronix.de \
--to=rhi@pengutronix.de \
--cc=ptxdist@pengutronix.de \
--cc=s.trumtrar@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox