forked from Mirror/pmbootstrap
Fix bootimg_analyze error (MR 2339)
Fix error: rm: can't remove '/tmp/bootimg_parser': No such file or directory Fixes #2379
This commit is contained in:
parent
3a9284da8a
commit
0c932c273d
2 changed files with 2 additions and 17 deletions
|
@ -84,7 +84,8 @@ def bootimg(path: Path):
|
|||
)
|
||||
pmb.chroot.apk.install(["file", "unpackbootimg"], Chroot.native())
|
||||
|
||||
temp_path = pmb.chroot.other.tempfolder(Path("/tmp/bootimg_parser"))
|
||||
temp_path = Path("/tmp/bootimg_parser")
|
||||
pmb.chroot.user(["mkdir", "-p", temp_path])
|
||||
bootimg_path = Chroot.native() / temp_path / "boot.img"
|
||||
|
||||
# Copy the boot.img into the chroot temporary folder
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue