[poky] [autobuilder]
Tobias Andersson
tobias.andersson at multiq.com
Fri Sep 16 01:57:39 PDT 2016
The parameters in the recipe i use to add the group
inherit useradd
USERADD_PACKAGES = "${PN}"
GROUPADD_PARAM_${PN} = " --system --force networker"
I basically looked at the other recipes in the meta layer adding groups and did the same. And they obviously work.
---------------------------------------------------------
Med vänlig hälsning/ Kind Regards
Tobias Andersson
Software Developer
Direct: +46 (0)10 211 66 05
Office: +46 (0)10 211 66 00
tobias.andersson at multiq.com
www.multiq.com
________________________________
Från: Peter Kjellerstedt [peter.kjellerstedt at axis.com]
Skickat: den 16 september 2016 10:46
Till: Tobias Andersson; poky at yoctoproject.org
Ämne: RE: [poky] [autobuilder]
Assuming at least one recipe that you build use GROUPMEMS_PARAMS_${PN}, a patch I sent to openembedded-core at lists.openembedded.org<mailto:openembedded-core at lists.openembedded.org> yesterday will most likely fix this:
http://lists.openembedded.org/pipermail/openembedded-core/2016-September/126552.html
//Peter
From: poky-bounces at yoctoproject.org [mailto:poky-bounces at yoctoproject.org] On Behalf Of Tobias Andersson
Sent: den 14 september 2016 14:55
To: poky at yoctoproject.org
Subject: [poky] [autobuilder]
I have an issue with useradd command not succeeding. The issue is appearing when building the image with autobuilder.
error msg:
"do_populate_sysroot_setscene: mqclient-base-files: useradd command did not succeed."
The user being added in the recipe depends on another group that i add from another recipe, which the logs states that the group does not exits, even though i check in the sysroot that it does.
I even had to apply the --force flag to the recipe adding the group because it generated an error stating it already existed.
What could be the problem ?
---------------------------------------------------------
Med vänlig hälsning/ Kind Regards
Tobias Andersson
Software Developer
Direct: +46 (0)10 211 66 05
Office: +46 (0)10 211 66 00
tobias.andersson at multiq.com<mailto:tobias.andersson at multiq.com>
www.multiq.com<http://www.multiq.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20160916/2330de3c/attachment.html>
More information about the poky
mailing list