Skip to content
Snippets Groups Projects

build: newapkbuild: initialize chroot before use

Merged Caleb Connolly requested to merge caleb/newapkbuild-init-chroot into master
1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
+ 1
0
@@ -15,6 +15,7 @@ from pmb.core import Chroot
def newapkbuild(folder, args_passed, force=False):
# Initialize build environment and build folder
pmb.build.init()
pmb.chroot.init(Chroot.native())
build = Path("/home/pmos/build")
build_outside = Chroot.native() / build
if build_outside.exists():
Loading