match glibc in ConditionVersion
Extend ConditionVersion= to allow matching against glibc version, as proposed in https://github.com/systemd/systemd/pull/36468#issuecomment-2674600909
This commit is contained in:
committed by
Yu Watanabe
parent
966f872880
commit
dcde1e903a
@@ -21,6 +21,11 @@ ConditionVersion=systemd ">=20" "<=9000" "!=14"
|
||||
ConditionVersion=systemd " >= 20" " <= 9000 " "!= 14"
|
||||
ConditionVersion=systemd " >= 20" " * "
|
||||
|
||||
ConditionVersion=glibc ">=2"
|
||||
ConditionVersion=glibc ">=2" "<=9000" "!=1"
|
||||
ConditionVersion=glibc " >= 2" " <= 9000 " "!= 1"
|
||||
ConditionVersion=glibc " >= 2" " * "
|
||||
|
||||
[Service]
|
||||
ExecStart=touch /tmp/a ; /bin/sh -c 'touch /tmp/b' ; touch /tmp/c
|
||||
ExecStart=test -f /tmp/a
|
||||
|
||||
Reference in New Issue
Block a user