Support custom boot/recovery images

Change-Id: I4979d05ca9c23039770b51962e8ff7e066bd0bdc