[yocto] useradd and one sysroot per recipe in pyro

Andersen, Christian c.andersen at kostal.com
Tue Jun 20 00:22:25 PDT 2017


Hi Laurent,

> In pyro the creation of users and group (using the useradd class) is done during
> the package pre-installation.
> 
> So my best guess is that you could move the owner/group change in the package
> post-installation as follows:

thanks for your advice. Currently it seems - as stated by Maxim B. John - do be a bug / regression in pyro, so adding shadow-native to the dependencies helps. Besides that I think that it is okay to access the user in the install task, since it should already be available then.

Regards
Christian

KOSTAL Industrie Elektrik GmbH - Sitz Lüdenscheid, Registergericht Iserlohn HRB 3924 - USt-Id-Nr./Vat No.: DE 813742170
Postanschrift: An der Bellmerei 10, D-58513 Lüdenscheid * Telefon: +49  2351 16-0 * Telefax: +49  2351 16-2400
Werksanschrift: Lange Eck 11, D-58099 Hagen * Tel. +49 2331 8040-601 * Fax +49 2331 8040-602
Geschäftsführung: Axel Zimmermann, Dipl.-Ing. Marwin Kinzl, Dipl.-Oec. Andreas Kostal



More information about the yocto mailing list