sd-device: make TAGS= property prefixed and suffixed with ":"
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 10 Dec 2020 23:34:13 +0000 (08:34 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 14 Dec 2020 05:04:53 +0000 (14:04 +0900)
commit8d80f275303385eb9e2452f97f9c11be5c196862
treebea32045f40beec4b6fabe99b090dab6cbe9aad2
parentba9385d91f4724dd55a655da153f3a89e7943b4e
sd-device: make TAGS= property prefixed and suffixed with ":"

The commit 6f3ac0d51766b0b9101676cefe5c4ba81feba436 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.
src/basic/hashmap.c
src/basic/set.h
src/libsystemd/sd-device/sd-device.c
src/test/test-set.c
test/units/testsuite-55.sh