We have found a typo in the useradd-staticids.bbclass that has been around probably since Yocto daisy release. It is then a quite uncommon feature but this is used in our environment and I found it when working with WRL8 uplift. For us it will be good if you can get this fix into WRL8 and WRL9 but I think it is also present in WRL6 and WRL7.
$ configure --enable-board=qemux86-64 \ --enable-kernel=standard --enable-rootfs=glibc_small \ --enable-rm-work=yes --enable-prserver=no \ --with-sstate-dir=../sstate-cache8 --with-init=sysvinit \ --with-package=hello --enable-reconfig --with-rcpl-version=auto $ echo "USERADDEXTENSION = \"useradd-staticids\"" >> bitbake_build/conf/auto.conf $ echo "USERADD_UID_TABLES = \"conf/passwd\"" >> bitbake_build/conf/auto.conf $ echo "USERADD_GID_TABLES = \"conf/group\"" >> bitbake_build/conf/auto.conf $ echo "USERADD_ERROR_DYNAMIC = \"1\"" >> bitbake_build/conf/auto.conf $ echo "inherit useradd" >> layers/local/recipes-sample/hello/hello_1.0.bb $ echo "USERADD_PACKAGES = \"\${PN}\"" >> layers/local/recipes-sample/hello/hello_1.0.bb $ echo "USERADD_PARAM_\${PN} = \"--expiredate '' testUser\"" >> layers/local/recipes-sample/hello/hello_1.0.bb $ echo "testUser::1000::::" >> layers/local/conf/passwd $ echo "testUser::1000" >> layers/local/conf/group $ make bbs $ bitbake hello -c install Check the log-file for hello package and the do_install step and you will find "useradd: unrecognized option '--expiredata'" The correction is "sed -i 's/expiredata/expiredate/g' layers/oe-core/meta/classes/useradd-staticids.bbclass" and there is only one charachter that has to be changed. I have also sent a patch to oe-core (https://patchwork.openembedded.org/patch/137316/).