image.py: rename boot.img to aboot.img

This commit is contained in:
InsanePrawn 2022-02-06 19:41:31 +01:00
parent 050f73c90c
commit 0533b5b901

View file

@ -172,15 +172,15 @@ def mount_rootfs_loop_device(loop_device, chroot: Chroot):
def dump_bootimg(image_path: str) -> str:
path = '/tmp/boot.img'
path = '/tmp/aboot.img'
result = subprocess.run([
'debugfs',
image_path,
'-R',
f'dump /boot.img {path}',
f'dump /aboot.img {path}',
])
if result.returncode != 0:
logging.fatal('Failed to dump boot.img')
logging.fatal('Failed to dump aboot.img')
exit(1)
return path