fm-mgr: fix to avoid useradd error 42/3742/1
authorJackie Huang <jackie.huang@windriver.com>
Tue, 19 May 2020 03:27:34 +0000 (11:27 +0800)
committerJackie Huang <jackie.huang@windriver.com>
Tue, 19 May 2020 07:13:58 +0000 (15:13 +0800)
commit7ba5a6ce373782752bb0da8aa0d3e038dc057396
treef19ae7345fb7c3ebac3119dc0fae232652085fbf
parent2a30b5879253230bbfd6ef75403b27972e0b498f
fm-mgr: fix to avoid useradd error

There is an issue in Yocto that the useradd dependency is not
corretly handled:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=13904

This fix is a work around to move the useradd option "-G snmpd"
to image level and use usermod command instead.

Issue-ID: INF-120
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I4d9671ab11fa2d33e69359ada5395be04ec3e7c5
meta-stx/conf/distro/files/ks/poky_stx_aio_ks.cfg
meta-stx/conf/distro/poky-stx.conf
meta-stx/recipes-core/stx-fault/fm-mgr.inc