]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/namespace.c
service: add new RootImageOptions feature
[thirdparty/systemd.git] / src / core / namespace.c
index 5865dfe93ea6b0592460e09f721ce1396744b178..8b5efa825219fd3c315dabcbad0c74dff27d0803 100644 (file)
@@ -1259,6 +1259,7 @@ static bool home_read_only(
 int setup_namespace(
                 const char* root_directory,
                 const char* root_image,
+                const MountOptions *root_image_options,
                 const NamespaceInfo *ns_info,
                 char** read_write_paths,
                 char** read_only_paths,
@@ -1333,6 +1334,7 @@ int setup_namespace(
                                   root_hash ?: root_hash_decoded,
                                   root_hash_size,
                                   root_verity ?: verity_data,
+                                  root_image_options,
                                   dissect_image_flags,
                                   &dissected_image);
                 if (r < 0)