mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
uboot-sign.bbclass: silence warnings when UBOOT_DTB_BINARY is empty
When UBOOT_DTB_BINARY is set to "", the keys for signed booting are expected to be already present in U-Boot's DTB, so don't issue warnings for this. (From OE-Core rev: 04656f5df326a72747fc5878ce201b636a2a419c) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
24d8aa6ec2
commit
1c0473fe4b
@@ -70,7 +70,7 @@ concat_dtb() {
|
||||
elif [ -e "${DEPLOYDIR}/${UBOOT_NODTB_IMAGE}" -a -e "$deployed_uboot_dtb_binary" ]; then
|
||||
cd ${DEPLOYDIR}
|
||||
cat ${UBOOT_NODTB_IMAGE} $deployed_uboot_dtb_binary | tee ${B}/${UBOOT_BINARY} > ${UBOOT_IMAGE}
|
||||
else
|
||||
elif [ -n "${UBOOT_DTB_BINARY}" ]; then
|
||||
bbwarn "Failure while adding public key to u-boot binary. Verified boot won't be available."
|
||||
fi
|
||||
fi
|
||||
@@ -86,7 +86,7 @@ do_install_append() {
|
||||
# need both of them.
|
||||
install ${B}/${UBOOT_DTB_BINARY} ${D}${datadir}/${UBOOT_DTB_IMAGE}
|
||||
ln -sf ${UBOOT_DTB_IMAGE} ${D}${datadir}/${UBOOT_DTB_BINARY}
|
||||
else
|
||||
elif [ -n "${UBOOT_DTB_BINARY}" ]; then
|
||||
bbwarn "${B}/${UBOOT_DTB_BINARY} not found"
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user