Both call rngd, so it does not make sense to install them without rngd. Furthermore, the systemd unit is useless without systemd itself.
Fixes: 88f17567fbef465e9bf2 (2021-06-07, "rng-tools: allow installing rngtest without rngd") Signed-off-by: Roland Hieber <r...@pengutronix.de> --- v1 -> v2: * remove superfluous "depends on SYSTEMD" line * select RNG_TOOLS_RNGD instead of depending on it rules/rng-tools.in | 2 +- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rules/rng-tools.in b/rules/rng-tools.in index eed76200987a..a9dc01340243 100644 --- a/rules/rng-tools.in +++ b/rules/rng-tools.in @@ -25,12 +25,14 @@ config RNG_TOOLS_RNGD config RNG_TOOLS_STARTSCRIPT bool default y - depends on RNG_TOOLS && INITMETHOD_BBINIT + select RNG_TOOLS_RNGD + depends on INITMETHOD_BBINIT prompt "install /etc/init.d/rngd" config RNG_TOOLS_SYSTEMD_UNIT bool default y - depends on SYSTEMD + depends on INITMETHOD_SYSTEMD + select RNG_TOOLS_RNGD prompt "install systemd unit files" -- 2.30.2 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-requ...@pengutronix.de