[oe-commits] [openembedded-core] 08/68: useradd-staticids: fix typo for '--expiredate'

git at git.openembedded.org git at git.openembedded.org
Thu Feb 23 20:50:39 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 9d26a2f9f52ae9df6aa5e0ee20683ada35c32af1
Author: Peter Bergin <peter at berginkonsult.se>
AuthorDate: Sun Feb 19 21:30:13 2017 +0100

    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.
    
    Signed-off-by: Peter Bergin <peter at berginkonsult.se>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/classes/useradd-staticids.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/useradd-staticids.bbclass b/meta/classes/useradd-staticids.bbclass
index a309b88..a65c3f6 100644
--- a/meta/classes/useradd-staticids.bbclass
+++ b/meta/classes/useradd-staticids.bbclass
@@ -184,7 +184,7 @@ def update_useradd_static_config(d):
             newparam += ['', ' --base-dir %s' % uaargs.base_dir][uaargs.base_dir != None]
             newparam += ['', ' --comment %s' % uaargs.comment][uaargs.comment != None]
             newparam += ['', ' --home-dir %s' % uaargs.home_dir][uaargs.home_dir != None]
-            newparam += ['', ' --expiredata %s' % uaargs.expiredate][uaargs.expiredate != None]
+            newparam += ['', ' --expiredate %s' % uaargs.expiredate][uaargs.expiredate != None]
             newparam += ['', ' --inactive %s' % uaargs.inactive][uaargs.inactive != None]
             newparam += ['', ' --gid %s' % uaargs.gid][uaargs.gid != None]
             newparam += ['', ' --groups %s' % uaargs.groups][uaargs.groups != None]

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list