stages: add new org.osbuild.bootc.install-to-filesystem
Support the `boot install to-filesystem` capability to install a bootc image to a filesystem.
This commit is contained in:
parent
a85b51bb2c
commit
226b50eba5
2 changed files with 68 additions and 0 deletions
|
|
@ -237,6 +237,12 @@ class BuildRoot(contextlib.AbstractContextManager):
|
|||
mounts += ["--ro-bind-try",
|
||||
os.path.join(self._rootdir, "etc/containers"),
|
||||
"/etc/containers"]
|
||||
mounts += ["--ro-bind-try",
|
||||
os.path.join(self._rootdir, "ostree"),
|
||||
"/ostree"]
|
||||
mounts += ["--ro-bind-try",
|
||||
os.path.join(self._rootdir, "etc/selinux/targeted/contexts"),
|
||||
"/etc/selinux/targeted/contexts"]
|
||||
|
||||
# We execute our own modules by bind-mounting them from the host into
|
||||
# the build-root. We have minimal requirements on the build-root, so
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue