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:54 +0100 |
commit | d3a2da45b6a0a0cf249d68ccb80d58b259b2ddca (patch) | |
tree | a2e9908ccd3eccba9f9b7f4ce2292487bead21ee /documentation | |
parent | 5ca7cbf4df8f369dd62acf6bbe9ba7148494e929 (diff) | |
download | poky-d3a2da45b6a0a0cf249d68ccb80d58b259b2ddca.tar.gz |
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 .
(From OE-Core rev: 158cbd737f9f6c2de756506caf919a0a3d0a05b9)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
0 files changed, 0 insertions, 0 deletions