Hello, I'm building an image removing userdel and usermod to reduce image size:
shadow_%.bbappend: do_install:append () { rm -f ${D}${sbindir}/usermod rm -f ${D}${sbindir}/userdel } And I would like to set the root password so my image inherit extrausers and use EXTRA_USERS_PARAMS = " usermod -p 'xxxxx' root; " When doing this, do_rootfs of the image fails with the error "usermod command did not succeed". I'm surprised to notice that the usermod command of EXTRA_USERS_PARAMS which is executed is the one in the image itself ! Is it expected behavior ? This looks like a strong dependency... Joel
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#63467): https://lists.yoctoproject.org/g/yocto/message/63467 Mute This Topic: https://lists.yoctoproject.org/mt/107159697/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-