diff options
author | Jo-Philipp Wich <jo@mein.io> | 2016-12-14 17:10:52 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2016-12-14 18:39:14 +0100 |
commit | fc6ed9521dca405da0a4f93bec504fd497ccf1fe (patch) | |
tree | 00ae3ec25bbfb4f7a61080bb72a91a990cb303b6 /target/linux/brcm63xx/dts/bcm6345.dtsi | |
parent | b4aa3c899cbf1f81cd8a1ea197481ac84a9d646e (diff) | |
download | upstream-fc6ed9521dca405da0a4f93bec504fd497ccf1fe.tar.gz upstream-fc6ed9521dca405da0a4f93bec504fd497ccf1fe.tar.bz2 upstream-fc6ed9521dca405da0a4f93bec504fd497ccf1fe.zip |
brcm63xx: image: trim revision code used for --rsa-signature
The imagetag RSA signature field may not exceed 20 characters, so trim the
Git hash portion from the REVISION variable in order to ensure that the
resulting string fits within this field.
The current revision values may be longer than 20 chars, especially when
building within a dirty tree. In this case, the revision will look like
"r2435+75-b4aa3c8" which, combined with the "LEDE-" prefix, is 21 chars long.
Fixes the following error spotted by the buildbots:
Error: RSA Signature (rsa_signature,r) too long.
make[4]: *** [.../lede-brcm63xx-generic-NEUFBOX6-squashfs-cfe.bin] Error 1
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'target/linux/brcm63xx/dts/bcm6345.dtsi')
0 files changed, 0 insertions, 0 deletions