From: Paymon MARANDI Date: Tue, 30 May 2023 12:56:03 +0000 (-0400) Subject: gentoo: document taget_root_mntpnt X-Git-Tag: v15~103^2~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abb3ef917bc25f713874ee5794446ecd44979f64;p=thirdparty%2Fmkosi.git gentoo: document taget_root_mntpnt Signed-off-by: Paymon MARANDI --- diff --git a/mkosi/distributions/gentoo.py b/mkosi/distributions/gentoo.py index 1cf72e4b1..a21d15d07 100644 --- a/mkosi/distributions/gentoo.py +++ b/mkosi/distributions/gentoo.py @@ -33,6 +33,7 @@ def invoke_emerge( thread_counts = (os.cpu_count() or 1) * 2 # * 2 for hyperthreading bwrap: list[PathString] = [] if sysroot is not None: + # This is the mount-point inside our sysroot where we mount root target_root_mntp = "/tmp/mkosi-root" bwrap += ["--bind", state.root, target_root_mntp] root = Path(target_root_mntp)