Hi Andersen, On Tue, Jun 13, 2017 at 04:10:10PM +0000, Andersen, Christian wrote: > >Hello, >currently I am trying the newest Yocto release (pyro). It seems I have a >problem >with useradd and the new concept of one sysroot per recipe. > >I have a base recipe (let’s call it my-base.bb) which inherits useradd and >creates >a new user (let’s call him myuser): > > inherit useradd > USERADD_PACKAGES = "${PN}" > USERADD_PARAM_${PN} = " \ > --uid 1200 \ > --gid 1200 \ > --system \ > --shell /bin/bash \ > --create-home \ > --home-dir /home/myuser \ > --groups mygroup,video,input \ > myuser" > > GROUPADD_PARAM_${PN} = "-g 1200 mygroup" > > do_install () { > install -d ${D}/home/myuser > chown -R myuser:mygroup ${D}/home/myuser > } > > Other recipes depend on this base recipe (via DEPENDS and RDEPENDS), because > they require this user, > e.g. in recipe my-appl.bb (in this case python only, so no configure or > compile): >
Here, could you try to build again with an additional DEPENDENCY on shadow-native: ie: instead of >DEPENDS = "puck-base" DEPENDS = "puck-base shadow-native" To be sure, please cleansstate the puck-base and test before build. > RDEPENDS_${PN} = "puck-base python3-dbus python3-sqlite3 python3-netclient > python3-requests" > do_configure[noexec] = "1" <snip> Best Regards, Maxin -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto