[yocto] [meta-intel]:Quark not accepting "root" username at login prompt

shubham.kumar4 at wipro.com shubham.kumar4 at wipro.com
Wed Feb 3 23:31:32 PST 2016


Hi Khem,

Thanks for your quick response.

That entry is already there in "<build>/conf/local.conf " file as follows:-

# We default to enabling the debugging tweaks.
EXTRA_IMAGE_FEATURES = "debug-tweaks"

In addition to the above, I have also added "tools-sdk" and "tools-debug" as follows in the same file :-

#Other packages
EXTRA_IMAGE_FEATURES = "tools-sdk"
EXTRA_IMAGE_FEATURES = "tools-debug"

Is there anything else I'm missing?


Thanks,
Shubham_K


________________________________________
From: Khem Raj <raj.khem at gmail.com>
Sent: Thursday, February 4, 2016 12:48 PM
To: Shubham Kumar (Product Engineering Service)
Cc: yocto at yoctoproject.org; maciej.borzecki at open-rnd.pl
Subject: Re: [yocto] [meta-intel]:Quark not accepting "root" username at login prompt

On Wed, Feb 3, 2016 at 10:43 PM,  <shubham.kumar4 at wipro.com> wrote:
> 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"

thats not how you do it. you add it to local configuration metadata
e.g. in your conf/local.conf

you define it e.g.

EXTRA_IMAGE_FEATURES = "debug-tweaks"

>
> 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 at open-rnd.pl>
> Sent: Wednesday, February 3, 2016 10:59 PM
> To: Shubham Kumar (Product Engineering Service); yocto at yoctoproject.org
> Subject: Re: [yocto] [meta-intel]:Quark not accepting "root" username at login prompt
>
>> Dnia 3 luty 2016 o 15:55 shubham.kumar4 at 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
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
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



More information about the yocto mailing list