Hi,
I tried to port my distro layer to Honister and
attempted to build an OS image.
I have this in the image recipe:
EXTRA_USERS_PARAMS += "usermod -P mypassword root; usermod -P mypassword2
myuser;"
and the error I got was:
NOTE: my-test-image: Performing usermod with [-R
/data/yocto/tmp-sicom-glibc/work/genericx86_64-oe-linux/my-test-image/1.0-r0/rootfs -P
mypassword root]
usermod: prefix must be an absolute path
ERROR: my-test-image: usermod command did not succeed.
WARNING:
/data/yocto/tmp-sicom-glibc/work/genericx86_64-oe-linux/my-test-image/1.0-r0/temp/run.set_user_group.2583229:260
exit 1 from 'exit 1'
EXTRA_USERS_PARAMS has userdel and useradd commands
before the last two usermod, all of which succeed.
I got the same error on both Fedora 33 and Fedora 34 hosts.
It works with Hardknott.
Best regards,
Zoltán Böszörményi
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#155222):
https://lists.openembedded.org/g/openembedded-core/message/155222
Mute This Topic: https://lists.openembedded.org/mt/85111613/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-