From a01578d89791c70dbfd76478c8bf8055d455f883 Mon Sep 17 00:00:00 2001 From: Newbyte Date: Wed, 8 Jan 2025 16:37:38 +0100 Subject: [PATCH] pmb.parse.bootimg: Initialise chroot before installing packages in bootimg() (MR 2526) Closes https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/issues/2535 --- pmb/parse/bootimg.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pmb/parse/bootimg.py b/pmb/parse/bootimg.py index f592702a..8f32c9ff 100644 --- a/pmb/parse/bootimg.py +++ b/pmb/parse/bootimg.py @@ -85,6 +85,7 @@ def bootimg(path: Path) -> Bootimg: " we can set up a chroot to extract and analyze your" " boot.img file" ) + pmb.chroot.init(Chroot.native()) pmb.chroot.apk.install(["file", "unpackbootimg"], Chroot.native()) temp_path = Path("/tmp/bootimg_parser")