diff options
| author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2021-08-27 21:16:53 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-08-27 21:58:03 -0700 |
| commit | 88783990b91e50a3bb8a5174b5e6c793f92f3b6a (patch) | |
| tree | 2e8b205e8afad2928ab16321e750499b0e4788b1 | |
| parent | 08089e4ba37307ed3fd95ce0c2dc2134d02200f8 (diff) | |
| download | meta-openembedded-88783990b91e50a3bb8a5174b5e6c793f92f3b6a.tar.gz | |
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>
| -rw-r--r-- | meta-networking/recipes-support/chrony/chrony_4.1.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/chrony/chrony_4.1.bb b/meta-networking/recipes-support/chrony/chrony_4.1.bb index f009bae75c..117451db2e 100644 --- a/meta-networking/recipes-support/chrony/chrony_4.1.bb +++ b/meta-networking/recipes-support/chrony/chrony_4.1.bb | |||
| @@ -50,7 +50,7 @@ inherit update-rc.d systemd | |||
| 50 | # Add chronyd user if privdrop packageconfig is selected | 50 | # Add chronyd user if privdrop packageconfig is selected |
| 51 | inherit ${@bb.utils.contains('PACKAGECONFIG', 'privdrop', 'useradd', '', d)} | 51 | inherit ${@bb.utils.contains('PACKAGECONFIG', 'privdrop', 'useradd', '', d)} |
| 52 | USERADD_PACKAGES = "${@bb.utils.contains('PACKAGECONFIG', 'privdrop', '${PN}', '', d)}" | 52 | USERADD_PACKAGES = "${@bb.utils.contains('PACKAGECONFIG', 'privdrop', '${PN}', '', d)}" |
| 53 | USERADD_PARAM_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'privdrop', '--system -d / -M --shell /bin/nologin chronyd;', '', d)}" | 53 | USERADD_PARAM:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'privdrop', '--system -d / -M --shell /bin/nologin chronyd;', '', d)}" |
| 54 | 54 | ||
| 55 | # Configuration options: | 55 | # Configuration options: |
| 56 | # - For command line editing support in chronyc, you may specify either | 56 | # - For command line editing support in chronyc, you may specify either |
