def invoke_emerge(
state: MkosiState,
sysroot: Optional[Path] = None,
- root: Optional[Path] = None,
bwrap_params: list[PathString] = [],
pkgs: Sequence[str] = (),
actions: Sequence[str] = (),
) -> None:
thread_counts = (os.cpu_count() or 1) * 2 # * 2 for hyperthreading
bwrap: list[PathString] = []
+ root: Optional[Path] = None
if sysroot is not None:
# This is the mount-point inside our sysroot where we mount root
target_root_mntp = "/tmp/mkosi-root"
root = Path(target_root_mntp)
else:
sysroot = state.root
- root = None
emerge_default_opts = [
"--buildpkg=y",