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 <r...@pengutronix.de>
---
 rules/rauc.make | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

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)
-- 
2.29.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de

Reply via email to