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.
This commit is contained in:
Christian Kellner 2020-03-30 15:53:30 +02:00 committed by David Rheinsberg
parent fd5efd0d29
commit 8d28b094eb

View file

@ -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):