Make sure the Shell-expression returns true also in case of
key-build.ucert being absent.
Fixes commit
848b455d2e ("image: use ucert to append signature")
Signed-off-by: Daniel Golle <[email protected]>
define Build/append-metadata
$(if $(SUPPORTED_DEVICES),-echo $(call metadata_json,$(SUPPORTED_DEVICES)) | fwtool -I - $@)
- [ -s "$(BUILD_KEY)" -a -s "$(BUILD_KEY).ucert" ] && { \
+ [ ! -s "$(BUILD_KEY)" -o ! -s "$(BUILD_KEY).ucert" ] || { \