From a27b3f78bcf743bddff3689c05d48837ec4b2575 Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Fri, 8 Oct 2021 17:02:30 +0000 Subject: [PATCH] mounts: include tree directory in arguments Include the path to the tree for all mount services, so that future services can e.g. bind mount something inside the tree. --- osbuild/mounts.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/osbuild/mounts.py b/osbuild/mounts.py index 2b905294..7f46b89c 100644 --- a/osbuild/mounts.py +++ b/osbuild/mounts.py @@ -63,9 +63,11 @@ class MountManager: args = { "source": source, - "root": self.root, "target": mount.target, + "root": self.root, + "tree": self.devices.tree, + "options": mount.options, }