forked from Mirror/pmbootstrap
pmb.parse.bootimg: Initialise chroot before installing packages in bootimg() (MR 2526)
Closes https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/issues/2535
This commit is contained in:
parent
9a31fe43b3
commit
a01578d897
1 changed files with 1 additions and 0 deletions
|
@ -85,6 +85,7 @@ def bootimg(path: Path) -> Bootimg:
|
||||||
" we can set up a chroot to extract and analyze your"
|
" we can set up a chroot to extract and analyze your"
|
||||||
" boot.img file"
|
" boot.img file"
|
||||||
)
|
)
|
||||||
|
pmb.chroot.init(Chroot.native())
|
||||||
pmb.chroot.apk.install(["file", "unpackbootimg"], Chroot.native())
|
pmb.chroot.apk.install(["file", "unpackbootimg"], Chroot.native())
|
||||||
|
|
||||||
temp_path = Path("/tmp/bootimg_parser")
|
temp_path = Path("/tmp/bootimg_parser")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue