diff --git a/osbuild/buildroot.py b/osbuild/buildroot.py index 5b47d70..a0f654d 100644 --- a/osbuild/buildroot.py +++ b/osbuild/buildroot.py @@ -196,7 +196,7 @@ class BuildRoot(contextlib.AbstractContextManager): # Import directories from the caller-provided root. imports = ["usr"] - if self.mount_boot: + if True: imports.insert(0, "boot") for p in imports: diff --git a/osbuild/objectstore.py b/osbuild/objectstore.py index 4a19ce9..1afd9cd 100644 --- a/osbuild/objectstore.py +++ b/osbuild/objectstore.py @@ -287,10 +287,13 @@ class HostTree: # with just /usr mounted from the host usr = os.path.join(root, "usr") os.makedirs(usr) + boot = os.path.join(root, "boot") + os.makedirs(boot) # ensure / is read-only mount(root, root) mount("/usr", usr) + mount("/boot", boot) @property def tree(self) -> os.PathLike: