mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-02 13:59:59 +00:00
chrony: Use new override syntax for USERADD_PARAM
This was introduced in commit 18306e6f.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
committed by
Khem Raj
parent
08089e4ba3
commit
88783990b9
@@ -50,7 +50,7 @@ inherit update-rc.d systemd
|
|||||||
# Add chronyd user if privdrop packageconfig is selected
|
# Add chronyd user if privdrop packageconfig is selected
|
||||||
inherit ${@bb.utils.contains('PACKAGECONFIG', 'privdrop', 'useradd', '', d)}
|
inherit ${@bb.utils.contains('PACKAGECONFIG', 'privdrop', 'useradd', '', d)}
|
||||||
USERADD_PACKAGES = "${@bb.utils.contains('PACKAGECONFIG', 'privdrop', '${PN}', '', d)}"
|
USERADD_PACKAGES = "${@bb.utils.contains('PACKAGECONFIG', 'privdrop', '${PN}', '', d)}"
|
||||||
USERADD_PARAM_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'privdrop', '--system -d / -M --shell /bin/nologin chronyd;', '', d)}"
|
USERADD_PARAM:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'privdrop', '--system -d / -M --shell /bin/nologin chronyd;', '', d)}"
|
||||||
|
|
||||||
# Configuration options:
|
# Configuration options:
|
||||||
# - For command line editing support in chronyc, you may specify either
|
# - For command line editing support in chronyc, you may specify either
|
||||||
|
|||||||
Reference in New Issue
Block a user