diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-04-16 12:36:07 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-05-24 17:01:57 +0200 |
commit | 799b210267ed6209cd8ba1d693bd49509fab18d8 (patch) | |
tree | 600ef0f283625098d743d2f4099cb1e40e6f7bdb /src/shared/path-lookup.h | |
parent | install: export unit_file_lookup_state() (diff) | |
download | systemd-799b210267ed6209cd8ba1d693bd49509fab18d8.tar.gz systemd-799b210267ed6209cd8ba1d693bd49509fab18d8.tar.bz2 systemd-799b210267ed6209cd8ba1d693bd49509fab18d8.zip |
path-lookup: add flag to optionally force checking split-usr unit dirs
When we look into a portable service image it might contain the unit
files in split-usr directories rather than merged-usr directories as on
the host. Hence, let#s add a flag that checking all dirs can be forced.
Diffstat (limited to 'src/shared/path-lookup.h')
-rw-r--r-- | src/shared/path-lookup.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/shared/path-lookup.h b/src/shared/path-lookup.h index f5bba63f5..357816fd0 100644 --- a/src/shared/path-lookup.h +++ b/src/shared/path-lookup.h @@ -15,8 +15,9 @@ typedef struct LookupPaths LookupPaths; #include "macro.h" typedef enum LookupPathsFlags { - LOOKUP_PATHS_EXCLUDE_GENERATED = 1 << 0, - LOOKUP_PATHS_TEMPORARY_GENERATED = 1 << 1, + LOOKUP_PATHS_EXCLUDE_GENERATED = 1U << 0, + LOOKUP_PATHS_TEMPORARY_GENERATED = 1U << 1, + LOOKUP_PATHS_SPLIT_USR = 1U << 2, } LookupPathsFlags; struct LookupPaths { |