diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-09-28 19:11:14 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-09-30 18:32:46 +0200 |
commit | 41a6284570fc1a014cb6b2b7ebd7470e2d3e1770 (patch) | |
tree | 5683d86e05f680e5967c53d750f4966331e7e11d /rules | |
parent | e898b512783d9ea6ccaf009f54574377b3e3938b (diff) | |
download | ptxdist-41a6284570fc1a014cb6b2b7ebd7470e2d3e1770.tar.gz ptxdist-41a6284570fc1a014cb6b2b7ebd7470e2d3e1770.tar.xz |
rauc: fix quoting for when replacing @RAUC_BUNDLE_COMPATIBLE@
The default for RAUC_COMPATIBLE is
"${PTXCONF_PROJECT_VENDOR} ${PTXCONF_PROJECT}". As a result
PTXCONF_RAUC_COMPATIBLE evaluates to something like this:
""<the-vendor>" "<the-project>""
So the space is quoted but not the rest, so install_replace will fail if
PROJECT_VENDOR or PROJECT contain a space.
Fix the quoting to avoid this.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r-- | rules/rauc.make | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/rauc.make b/rules/rauc.make index 6fd3df2ad..291298584 100644 --- a/rules/rauc.make +++ b/rules/rauc.make @@ -67,7 +67,7 @@ ifdef PTXCONFIG_RAUC_CONFIGURATION @$(call install_alternative, rauc, 0, 0, 0644, /etc/rauc/system.conf) @$(call install_replace, rauc, /etc/rauc/system.conf, \ @RAUC_BUNDLE_COMPATIBLE@, \ - $(PTXCONF_RAUC_COMPATIBLE)) + "$(call remove_quotes,$(PTXCONF_RAUC_COMPATIBLE))") @$(call install_alternative, rauc, 0, 0, 0644, /etc/rauc/ca.cert.pem) endif |