summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBastian Krause <bst@pengutronix.de>2020-09-24 12:48:11 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2020-09-24 15:56:20 +0200
commit22771878dc0dffd45b44346147ba0fb828cd33e6 (patch)
treea324c5b1bed1b427fb908c5327e6e8b014041d37
parent386c88e270c81d3aadad93f18d01fe16cb37de89 (diff)
downloadptxdist-22771878dc0dffd45b44346147ba0fb828cd33e6.tar.gz
ptxdist-22771878dc0dffd45b44346147ba0fb828cd33e6.tar.xz
rauc: fix previous private key location triggering key creation message
Prior to the code signing infrastructure introduction, 001a500ed ("scripts: add script that generates test certificates for RAUC") suggested to move the private key to <platform-dir>/config/rauc/rauc.key.pem. This is the location that should be checked for key material. Fixes: c420c0745 ("rauc/image-rauc: use code signing infrastructure for key retrieval") Signed-off-by: Bastian Krause <bst@pengutronix.de> Message-Id: <20200924104811.30246-1-bst@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/rauc.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/rauc.make b/rules/rauc.make
index c1cba47e9..75a7d3521 100644
--- a/rules/rauc.make
+++ b/rules/rauc.make
@@ -48,7 +48,7 @@ RAUC_CONF_OPT := \
$(STATEDIR)/rauc.prepare:
@$(call targetinfo)
- @test ! -e "$(call ptx/in-platformconfigdir, config/rauc/rauc.key)" || \
+ @test ! -e "$(call ptx/in-platformconfigdir, config/rauc/rauc.key.pem)" || \
ptxd_bailout "Please use the signing provider infrastructure desribed in:" \
"https://www.ptxdist.org/doc/dev_code_signing.html"
@$(call world/prepare, RAUC)