Adapted repack_boot.img to bootimginfo.c & mkbootimg.c