diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2017-04-27 14:41:04 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-28 09:16:02 +0100 |
commit | a1715970d5c454dd24d04972ffb9cf735b5d1338 (patch) | |
tree | 1b40aa60b71e1f3aca4a201d4622bcbb0d4043ff /scripts | |
parent | e584be78f92ee6f08f570c239698d56ac78d05f9 (diff) | |
download | openembedded-core-a1715970d5c454dd24d04972ffb9cf735b5d1338.tar.gz openembedded-core-a1715970d5c454dd24d04972ffb9cf735b5d1338.tar.bz2 openembedded-core-a1715970d5c454dd24d04972ffb9cf735b5d1338.zip |
useradd-statids.bbclass: Add support for -P / --clear-password option
The commit 31dee7946340bf0f1e94e4e714191d3d6ca3bf6a added a new useradd and
groupadd option to specify a clear text password. The parsing logic in the
useradd-staticid class did not understand this new option. If the
meta-skeleton examples were run with the class enabled an error would be
generated, as an example uses the -P option.
Note, the code has a check that we do not attempt to set both a crypt and
clear text password. It is not allowed that these two options are set
at the same time, so we prefer the crypt option if they happen to be.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions