image.py: rename boot.img to aboot.img
This commit is contained in:
parent
050f73c90c
commit
0533b5b901
1 changed files with 3 additions and 3 deletions
6
image.py
6
image.py
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue