add support for unpacking the boot.img