sd-device: make TAGS= property prefixed and suffixed with ":"

The commit 6f3ac0d517 drops the prefix and
suffix in TAGS= property. But there exists several rules that have like
`TAGS=="*:tag:*"`. So, the property must be always prefixed and suffixed
with ":".

Fixes #17930.
This commit is contained in:
Yu Watanabe
2020-12-14 14:04:53 +09:00
parent ba9385d91f
commit 8d80f27530
5 changed files with 87 additions and 57 deletions
+1 -1
View File
@@ -151,4 +151,4 @@ DEFINE_TRIVIAL_CLEANUP_FUNC(Set*, set_free_free);
#define _cleanup_set_free_ _cleanup_(set_freep)
#define _cleanup_set_free_free_ _cleanup_(set_free_freep)
int set_strjoin(Set *s, const char *separator, char **ret);
int set_strjoin(Set *s, const char *separator, bool wrap_with_separator, char **ret);