]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
useradd_base: Fix sed command line for passwd-expire
authorAdam Johnston <adam.johnston@arm.com>
Tue, 21 Nov 2023 19:05:28 +0000 (19:05 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 21 Nov 2023 21:25:21 +0000 (21:25 +0000)
commit3c0deafcfcea3f610c7dd9a2d2884a16fbfe0497
tree2eefae635589e62e3f51bb749d1e54b709761b2c
parentfaa32bbb35e92a14b8064715c12e1007fd106b34
useradd_base: Fix sed command line for passwd-expire

A previous commit tried to add the --follow-symlinks option to
the perform_passwd_expire function in useradd_base.bbclass, however it used
a single -.

This is interpreted as --file=ollow-symlinks which results in...

sed: couldn't open file ollow-symlinks: No such file or directory

and...

ERROR: <image name>: passwd --expire operation did not succeed.

Fix by adding the missing -

Signed-off-by: Adam Johnston <adam.johnston@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/useradd_base.bbclass