diff options
author | Marek Vasut <marex@denx.de> | 2016-05-08 13:21:53 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-20 10:20:21 +0100 |
commit | 158cbd737f9f6c2de756506caf919a0a3d0a05b9 (patch) | |
tree | 0f012e5154ec30fdf31cc9ef39346b61e8bf54cd /meta/classes/populate_sdk_ext.bbclass | |
parent | 28777e593d3dd3a5d0ee2effcdca6a971e2887f9 (diff) | |
download | openembedded-core-158cbd737f9f6c2de756506caf919a0a3d0a05b9.tar.gz openembedded-core-158cbd737f9f6c2de756506caf919a0a3d0a05b9.tar.bz2 openembedded-core-158cbd737f9f6c2de756506caf919a0a3d0a05b9.zip |
kernel: fitimage: Repair misuse of shell test command
The kernel fitImage must be amended with signature if and only if
UBOOT_SIGN_ENABLE = 1 . In the current case, the UBOOT_SIGN_ENABLE
could be either 0 (default) or 1 , which test -n always correctly
interprets as non-empty string, thus always true. This does not
match the logic above though, so replace the test with check which
passes only for UBOOT_SIGN_ENABLE = 1 .
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Yannick Gicquel <yannick.gicquel@iot.bzh>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/populate_sdk_ext.bbclass')
0 files changed, 0 insertions, 0 deletions