From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 03 Sep 2021 16:20:44 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mMA3g-0001J1-PB for lore@lore.pengutronix.de; Fri, 03 Sep 2021 16:20:44 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mMA3g-00014T-ED; Fri, 03 Sep 2021 16:20:44 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mMA3Z-00013t-67; Fri, 03 Sep 2021 16:20:37 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mMA3Y-0008SK-Me; Fri, 03 Sep 2021 16:20:36 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1mMA3Y-00Gx2r-Ly; Fri, 03 Sep 2021 16:20:36 +0200 Date: Fri, 3 Sep 2021 16:20:36 +0200 From: Michael Olbrich To: Roland Hieber , ptxdist@pengutronix.de Message-ID: <20210903142036.GJ4027748@pengutronix.de> Mail-Followup-To: Roland Hieber , ptxdist@pengutronix.de References: <20210812131711.5528-1-rhi@pengutronix.de> <20210812134254.3965-1-rhi@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210812134254.3965-1-rhi@pengutronix.de> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [ptxdist] [PATCH 3/2] rng-tools: fix dependency for systemd services and init script X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false On Thu, Aug 12, 2021 at 03:42:54PM +0200, Roland Hieber wrote: > 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 > --- > rules/rng-tools.in | 3 ++- > 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,13 @@ config RNG_TOOLS_RNGD > config RNG_TOOLS_STARTSCRIPT > bool > default y > - depends on RNG_TOOLS && INITMETHOD_BBINIT > + depends on RNG_TOOLS_RNGD && INITMETHOD_BBINIT > prompt "install /etc/init.d/rngd" > > config RNG_TOOLS_SYSTEMD_UNIT > bool > default y > + depends on RNG_TOOLS_RNGD && INITMETHOD_SYSTEMD > depends on SYSTEMD Either INITMETHOD_SYSTEMD or SYSTEMD but not both. Michael > prompt "install systemd unit files" > > -- > 2.30.2 > > > _______________________________________________ > ptxdist mailing list > ptxdist@pengutronix.de > To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de