All of lore.kernel.org
 help / color / mirror / Atom feed
From: <shubham.kumar4@wipro.com>
To: <yocto@yoctoproject.org>, <maciej.borzecki@open-rnd.pl>
Subject: Re: [meta-intel]:Quark not accepting "root" username at login prompt
Date: Thu, 4 Feb 2016 06:43:18 +0000	[thread overview]
Message-ID: <SIXPR03MB06725C3D253D8E985C10B753D4D10@SIXPR03MB0672.apcprd03.prod.outlook.com> (raw)
In-Reply-To: <1036585921.17607.1454520572537.JavaMail.open-xchange@ox13.netart.com.pl>

Hi Maciej,


I did "bitbake -r core-image-sato" and redirected the output to a file. From that I found that IMAGE_FEATURES is assigned in image.bblass. A few of the contents in the file were as follows:-

# IMAGE_FEATURES may contain any available package group
IMAGE_FEATURES ?= ""
IMAGE_FEATURES[type] = "list"
IMAGE_FEATURES[validitems] += "debug-tweaks read-only-rootfs empty-root-password allow-empty-password post-install-logging"

I thought of modifying the last entry and made it as follows:-

IMAGE_FEATURES[validitems] += "debug-tweaks read-only-rootfs"

Then I rebuilt the images using "bitbake core-image-sato" and then wic tool.But still same issue persists.The Galileo is booting , but not accepting "root"  as username and again asking for password.


.
.
.
I also checked for IMAGE_ROOTFS in "image.bbclass" file and got the path to the rootfs as follows:-
IMAGE_ROOTFS="/home/yogesh/myYocto/poky/final_build/tmp/work/intel_quark-poky-linux/core-image-sato/1.0-r0/rootfs"

In etc/shadow, proper entry is present with ----  root:*:16834:0:99999:7:::

Thanks for your co-operation, Maciej. Looking forward to reaolving this issue asap.


Thanks,
Shubham_K



________________________________________
From: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Sent: Wednesday, February 3, 2016 10:59 PM
To: Shubham Kumar (Product Engineering Service); yocto@yoctoproject.org
Subject: Re: [yocto] [meta-intel]:Quark not accepting "root" username at login prompt

> Dnia 3 luty 2016 o 15:55 shubham.kumar4@wipro.com napisał(a):
>
>
> In "final_build/conf/local.conf" , EXTRA_IMAGE_FEATURES = "debug-tweaks".
>
> So, yes "debug-tweaks" is present.
>

Try running bitbake -e <yourimagename> and check the value of
IMAGE_FEATURES (and where it gets assigned).

You may also want to check if /etc/shadow in the rootfs contains proper
entry. It should look like this:

       root:*:16834:0:99999:7:::

When inspecting the output of bitbake -e, look for IMAGE_ROOTFS, this
will point to the location of the rootfs for your image.

--
Maciej Borzęcki
Senior Software Engineer at Open-RnD Sp. z o.o.
www.open-rnd.pl, Facebook, Twitter

Niniejsza wiadomość wraz z załącznikami może zawierać chronione prawem
lub poufne informacje i została wysłana wyłącznie do wiadomości i
użytku osób, do których została zaadresowana. Jeśli wiadomość została
otrzymana przypadkowo zabrania się jej kopiowania lub rozsyłania do
osób trzecich. W takim przypadku uprasza się o natychmiastowe
zniszczenie wiadomości oraz poinformowanie nadawcy o zaistniałej
sytuacji za pomocą wiadomości zwrotnej. Dziękujemy.

This message, including any attachments hereto, may contain privileged
or confidential information and is sent solely for the attention and
use of the intended addressee(s). If you are not an intended
addressee, you may neither use this message nor copy or deliver it to
anyone. In such case, you should immediately destroy this message and
kindly notify the sender by reply email. Thank you.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com


  reply	other threads:[~2016-02-04  6:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-03 11:41 [meta-intel]:Quark not accepting "root" username at login prompt shubham.kumar4
2016-02-03 14:00 ` shubham.kumar4
2016-02-03 14:49   ` Maciek Borzecki
2016-02-03 14:55     ` shubham.kumar4
2016-02-03 17:29       ` Maciej Borzecki
2016-02-04  6:43         ` shubham.kumar4 [this message]
2016-02-04  7:18           ` Khem Raj
2016-02-04  7:31             ` shubham.kumar4
2016-02-04  7:51               ` Maciek Borzecki
2016-02-04  9:15               ` Paul Eggleton
2016-02-04 11:16                 ` shubham.kumar4

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=SIXPR03MB06725C3D253D8E985C10B753D4D10@SIXPR03MB0672.apcprd03.prod.outlook.com \
    --to=shubham.kumar4@wipro.com \
    --cc=maciej.borzecki@open-rnd.pl \
    --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.