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-29 11:17:22 +0100 |
commit | d4dafce19bd198bde11c567bf3fc4786e5eadf3f (patch) | |
tree | e75007454ce67d86582f2a21dba2c1abca8902f5 /scripts/lib/wic | |
parent | 7a0e795373653886452a7a2992ced10080711c26 (diff) | |
download | poky-d4dafce19bd198bde11c567bf3fc4786e5eadf3f.tar.gz |
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.
(From OE-Core rev: a1715970d5c454dd24d04972ffb9cf735b5d1338)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic')
0 files changed, 0 insertions, 0 deletions