From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: In-Reply-To: <20210228234809.5294-2-rhi@pengutronix.de> MIME-Version: 1.0 Message-Id: From: Michael Olbrich Date: Fri, 05 Mar 2021 08:26:14 +0100 Subject: Re: [ptxdist] [APPLIED] rauc: be more verbose why the check for legacy keyring fails 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 Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Roland Hieber Thanks, applied as 73c6cbfbac24ddcbe013b4647314a47d81adecec. Michael [sent from post-receive hook] On Fri, 05 Mar 2021 08:26:14 +0100, Roland Hieber wrote: > Instead of relying on users to grep in the PTXdist source code for this > line, tell them directly what is checked here. > > Also fix a typo in the previous-to-last line. > > Signed-off-by: Roland Hieber > Message-Id: <20210228234809.5294-2-rhi@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/rules/rauc.make b/rules/rauc.make > index 66c967d44b83..08df6336a7cd 100644 > --- a/rules/rauc.make > +++ b/rules/rauc.make > @@ -50,8 +50,10 @@ RAUC_CONF_OPT := \ > > $(STATEDIR)/rauc.prepare: > @$(call targetinfo) > - @test ! -e "$(call ptx/in-platformconfigdir, config/rauc/rauc.key.pem)" || \ > - ptxd_bailout "Please use the signing provider infrastructure desribed in:" \ > + @keyfile="$(call ptx/in-platformconfigdir, config/rauc/rauc.key.pem)"; \ > + test ! -e "$${keyfile}" || \ > + ptxd_bailout "Legacy RAUC keyring exists at $${keyfile}!" \ > + "Please use the signing provider infrastructure instead, as described in:" \ > "https://www.ptxdist.org/doc/dev_code_signing.html" > @$(call world/prepare, RAUC) > @$(call touch) _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de