[yocto] Antwort: Re: Problems with do_rootfs when changing the user password
S.Jaritz at esa-grimma.de
S.Jaritz at esa-grimma.de
Thu Jun 9 02:43:48 PDT 2016
Thanks & done in that way
but the bitbake error "core-image-minimal-1.0-r0 do_rootfs:
myNewPassword.bb not found in the base feeds" still remains
Stefan Jaritz
------------------------------------------------------------
ESA Elektroschaltanlagen Grimma GmbH
Broner Ring 30
04668 Grimma
Telefon: +49 3437 9211 176
Telefax: +49 3437 9211 26
E-Mail: s.jaritz at esa-grimma.de
Internet: www.esa-grimma.de
Geschäftsführer:
Dipl.-Ing. Jörg Gaitzsch
Jörg Reinker
Sitz der Gesellschaft: Grimma
Ust.-ID: DE 141784437
Amtsgericht: Leipzig, HRB 5159
Steuernummer: 238/108/00755
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
erhalten
haben, informieren Sie bitte sofort den Absender und löschen Sie diese
Nachricht. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser
Mail
ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you
are
not the intended recipient (or have received this e-mail in error) please
notify the sender immediately and destroy this e-mail. Any unauthorized
copying, disclosure or distribution of the material in this e-mail is
strictly
forbidden.
Von: Oleksandr Poznyak <oleksandr.poznyak at gmail.com>
An: S.Jaritz at esa-grimma.de
Kopie: yocto at yoctoproject.org
Datum: 09.06.2016 11:13
Betreff: Re: [yocto] Problems with do_rootfs when changing the user
password
Hi,
Its better to change root passwd within ROOTFS_POSTPROCESS_COMMAND
Something like that:
set_root_passwd() {
.....change passwd here
}
ROOTFS_POSTPROCESS_COMMAND += " set_root_passwd;"
Thanks,
Oleksandr Poznyak!
On Thu, Jun 9, 2016 at 12:00 PM, <S.Jaritz at esa-grimma.de> wrote:
Hej
I want to change the root password. For that I create the recipe
"myNewPassword.bb" with:
################
SUMMARY = "my new password"
SECTION = "new"
LICENSE = "CLOSED"
inherit extrausers
EXTRA_USERS_PARAMS = "\
usermod -P xyz root; \
"
################
compiling and packaging works fine.
In my layer I add at the layer.conf:
################
IMAGE_INSTALL_append=" myNewPassword"
################
When do_rootfs (core-image-minimal) the package could not be found. A
deb(ug) Package was created.
Regards!
Stefan Jaritz
------------------------------------------------------------
ESA Elektroschaltanlagen Grimma GmbH
Broner Ring 30
04668 Grimma
Telefon: +49 3437 9211 176
Telefax: +49 3437 9211 26
E-Mail: s.jaritz at esa-grimma.de
Internet: www.esa-grimma.de
Geschäftsführer:
Dipl.-Ing. Jörg Gaitzsch
Jörg Reinker
Sitz der Gesellschaft: Grimma
Ust.-ID: DE 141784437
Amtsgericht: Leipzig, HRB 5159
Steuernummer: 238/108/00755
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
erhalten
haben, informieren Sie bitte sofort den Absender und löschen Sie diese
Nachricht. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser
Mail
ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you
are
not the intended recipient (or have received this e-mail in error) please
notify the sender immediately and destroy this e-mail. Any unauthorized
copying, disclosure or distribution of the material in this e-mail is
strictly
forbidden.
--
_______________________________________________
yocto mailing list
yocto at yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160609/018a766b/attachment.html>
More information about the yocto
mailing list