All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jussi Kukkonen <jussi.kukkonen@intel.com>
To: S.Jaritz@esa-grimma.de
Cc: Yocto Project <yocto@yoctoproject.org>
Subject: Re: Problems with do_rootfs when changing the user password
Date: Thu, 9 Jun 2016 13:00:18 +0300	[thread overview]
Message-ID: <CAHiDW_HFdwtg+eQDVzvwPKKA18ruRisYyiqbUZ5W0WDW6HqhCg@mail.gmail.com> (raw)
In-Reply-To: <OF631D75D9.DBAD0BFE-ONC1257FCD.0030963E-C1257FCD.00317358@esa-grimma.de>

[-- Attachment #1: Type: text/plain, Size: 2159 bytes --]

On 9 June 2016 at 12:00, <S.Jaritz@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.

If your package would contain no files, bitbake will not produce it at all.
You should be able to override this with:
    ALLOW_EMPTY_${PN} = "1"

 - Jussi


>
> 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@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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>

[-- Attachment #2: Type: text/html, Size: 2837 bytes --]

  parent reply	other threads:[~2016-06-09 10:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-09  9:00 Problems with do_rootfs when changing the user password S.Jaritz
2016-06-09  9:13 ` Oleksandr Poznyak
2016-06-09  9:43   ` Antwort: " S.Jaritz
2016-06-09 10:00 ` Jussi Kukkonen [this message]
2016-06-09 15:17   ` S.Jaritz
2016-06-09 17:28     ` Rudolf J Streif
2016-06-10  4:16     ` Maxin B. John
2016-06-10 10:08       ` Antwort: " S.Jaritz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAHiDW_HFdwtg+eQDVzvwPKKA18ruRisYyiqbUZ5W0WDW6HqhCg@mail.gmail.com \
    --to=jussi.kukkonen@intel.com \
    --cc=S.Jaritz@esa-grimma.de \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.