mirror of
https://github.com/systemd/systemd.git
synced 2026-08-03 22:50:29 +00:00
vpick: add generic definition for mstack image pick filters
This commit is contained in:
@@ -798,3 +798,11 @@ const PickFilter pick_filter_image_dir[1] = {
|
||||
.architecture = _ARCHITECTURE_INVALID,
|
||||
},
|
||||
};
|
||||
|
||||
const PickFilter pick_filter_image_mstack[1] = {
|
||||
{
|
||||
.type_mask = UINT32_C(1) << DT_DIR,
|
||||
.architecture = _ARCHITECTURE_INVALID,
|
||||
.suffix = ".mstack",
|
||||
},
|
||||
};
|
||||
|
||||
@@ -64,8 +64,10 @@ int path_uses_vpick(const char *path);
|
||||
|
||||
extern const PickFilter pick_filter_image_raw[1];
|
||||
extern const PickFilter pick_filter_image_dir[1];
|
||||
extern const PickFilter pick_filter_image_mstack[1];
|
||||
|
||||
#define pick_filter_image_any (const PickFilter[]) { \
|
||||
pick_filter_image_raw[0], \
|
||||
pick_filter_image_mstack[0], \
|
||||
pick_filter_image_dir[0], \
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user