On Wed, Feb 3, 2016 at 10:43 PM,  <shubham.kum...@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.borze...@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.kum...@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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to