diff options
author | Peter Bergin <peter@berginkonsult.se> | 2017-02-19 21:30:13 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-23 12:49:48 -0800 |
commit | 42d6b7818d3472941d130cb2e05f1cac3291fcdc (patch) | |
tree | 16f383a1d5eb7e3458a6af14a065d9a3abd0bd9b /meta | |
parent | 9571347bccef54d6d8fa7094cf65ee16c0c65433 (diff) | |
download | poky-42d6b7818d3472941d130cb2e05f1cac3291fcdc.tar.gz |
useradd-staticids: fix typo for '--expiredate'
There is a typo in the useradd-staticids.bbclass that
causes error during do_install.
If build was configured to use usedadd-staticids and
the recipe included (for example):
USERADD_PARAM_${PN} = "--expiredate '' testUser"
Due to the typo this added the wrong option '--expiredata '
that caused an error.
(From OE-Core rev: 9d26a2f9f52ae9df6aa5e0ee20683ada35c32af1)
Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/useradd-staticids.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/useradd-staticids.bbclass b/meta/classes/useradd-staticids.bbclass index a309b8873d..a65c3f69cb 100644 --- a/meta/classes/useradd-staticids.bbclass +++ b/meta/classes/useradd-staticids.bbclass | |||
@@ -184,7 +184,7 @@ def update_useradd_static_config(d): | |||
184 | newparam += ['', ' --base-dir %s' % uaargs.base_dir][uaargs.base_dir != None] | 184 | newparam += ['', ' --base-dir %s' % uaargs.base_dir][uaargs.base_dir != None] |
185 | newparam += ['', ' --comment %s' % uaargs.comment][uaargs.comment != None] | 185 | newparam += ['', ' --comment %s' % uaargs.comment][uaargs.comment != None] |
186 | newparam += ['', ' --home-dir %s' % uaargs.home_dir][uaargs.home_dir != None] | 186 | newparam += ['', ' --home-dir %s' % uaargs.home_dir][uaargs.home_dir != None] |
187 | newparam += ['', ' --expiredata %s' % uaargs.expiredate][uaargs.expiredate != None] | 187 | newparam += ['', ' --expiredate %s' % uaargs.expiredate][uaargs.expiredate != None] |
188 | newparam += ['', ' --inactive %s' % uaargs.inactive][uaargs.inactive != None] | 188 | newparam += ['', ' --inactive %s' % uaargs.inactive][uaargs.inactive != None] |
189 | newparam += ['', ' --gid %s' % uaargs.gid][uaargs.gid != None] | 189 | newparam += ['', ' --gid %s' % uaargs.gid][uaargs.gid != None] |
190 | newparam += ['', ' --groups %s' % uaargs.groups][uaargs.groups != None] | 190 | newparam += ['', ' --groups %s' % uaargs.groups][uaargs.groups != None] |