sarien: Check for PD firmware in CBFS before adding

Vboot will fail if the PD firmware doesn't exist in CBFS, which
breaks builds that are not done with the chromium ebuilds.

To make this work again check if the PD hash exists in CBFS before
adding it as an update image.

TEST=boot without pdrw.bin/pdrw.hash

Change-Id: Ia17a327ca4375b82e594ec1e561529e5f1c7dfd1
Signed-off-by: Duncan Laurie <>
Commit-Ready: ChromeOS CL Exonerator Bot <>
Reviewed-by: Furquan Shaikh <>
1 file changed