File remove-ifdef-standalone-tmpfiles.patch of Package systemd

Index: systemd-258.4+suse.18.g8838beb6f3/src/tmpfiles/tmpfiles.c
===================================================================
--- systemd-258.4+suse.18.g8838beb6f3.orig/src/tmpfiles/tmpfiles.c
+++ systemd-258.4+suse.18.g8838beb6f3/src/tmpfiles/tmpfiles.c
@@ -4306,14 +4306,9 @@ static int parse_argv(int argc, char *ar
                         break;
 
                 case ARG_IMAGE:
-#ifdef STANDALONE
-                        return log_error_errno(SYNTHETIC_ERRNO(EOPNOTSUPP),
-                                               "This systemd-tmpfiles version is compiled without support for --image=.");
-#else
                         r = parse_path_argument(optarg, /* suppress_root= */ false, &arg_image);
                         if (r < 0)
                                 return r;
-#endif
                         /* Imply -E here since it makes little sense to create files persistently in the /run mountpoint of a disk image */
                         _fallthrough_;
 
openSUSE Build Service is sponsored by