From 8d28b094eba0c1066eaed451f0bd47abfa2d06ac Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Mon, 30 Mar 2020 15:53:30 +0200 Subject: [PATCH] buildroot: also bind mount /boot Add /boot to be mounted from the build tree into the build root, because the EFI binaries for grub are stored in there and for ostree grub2 support those need to be copied too. --- osbuild/buildroot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osbuild/buildroot.py b/osbuild/buildroot.py index 5e986c4c..03e8e09e 100644 --- a/osbuild/buildroot.py +++ b/osbuild/buildroot.py @@ -24,7 +24,7 @@ class BuildRoot: self.mount_var() def mount_root(self, root): - for p in ["usr", "bin", "sbin", "lib", "lib64"]: + for p in ["boot", "usr", "bin", "sbin", "lib", "lib64"]: source = os.path.join(root, p) target = os.path.join(self.root, p) if not os.path.isdir(source) or os.path.islink(source):