[yocto] error in do_rootfs

Daniel. danielhilst at gmail.com
Tue Sep 22 08:07:56 PDT 2015


This will depend on what is selecting it to your image...

Taking a look on bash dependecies here (I'm in Daisy) it has nothing that
depend on bash. So, the right question is, "Why bitbake is trying to
install it?". I suggest you to run `bitbake -u depexp -g bash' and see at
"Reverse Depends" if there is something selecting bash. Also take a look at
DISTRO_FEATURES and IMAGE_FEATURES, did you mess with them?

Cheers,


2015-09-22 12:04 GMT-03:00 Daniel. <danielhilst at gmail.com>:

> This will depend on what is selecting it to your image...
>
> Taking a look on bash dependecies here (I'm in Daisy) it has nothing that
> depend on bash. So, the right question is, "Why bitbake is trying to
> install it?". I suggest you to run `bitbake -u depexp -g bash' and see at
> "Reverse
>
> 2015-09-22 11:53 GMT-03:00 Mayank Agarwal <mayank77fromindia at gmail.com>:
>
>> Thanks Daniel for your help.Please specify how can i remove it
>>
>> Regards
>> Mayank
>>
>> On Tue, Sep 22, 2015 at 8:21 PM, Daniel. <danielhilst at gmail.com> wrote:
>>
>>> Will you use bash? If not, try to remove it from image, so /bin/bash
>>> isn't created.
>>>
>>>
>>> Cheers,
>>> - dhs
>>>
>>> 2015-09-22 11:42 GMT-03:00 Mayank Agarwal <mayank77fromindia at gmail.com>:
>>>
>>>> From that error:
>>>> Error: not linking /1.0-r0/rootfs//bin/bash to /bin/busybox.nosuid
>>>> since rootfs//bin/bash exists and is not a link
>>>>
>>>> Any solutions for above,even if i create symlink this error doesn't go
>>>>
>>>> Regards
>>>> Mayank
>>>>
>>>> On Tue, Sep 22, 2015 at 7:47 PM, Daniel. <danielhilst at gmail.com> wrote:
>>>>
>>>>> There should be a log.do_rootfs in something like
>>>>> BUILD_DIR/tmp/work/MACHINE-TOOLCHAIN/IMAGE/PV-PR/temp/. There you will find
>>>>> a proper failure message with the command that triggered the failure and is
>>>>> output.
>>>>>
>>>>> Cheers,
>>>>> - dhs
>>>>>
>>>>> 2015-09-22 6:36 GMT-03:00 Mayank Agarwal <mayank77fromindia at gmail.com>
>>>>> :
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I am getting the below error in do_rootfs:
>>>>>>
>>>>>> ERROR: Unable to install packages. Command
>>>>>>  returned 255:
>>>>>>
>>>>>>
>>>>>> I uderstand this error comes from certificate validation
>>>>>> failure.
>>>>>>
>>>>>> Is there any option i can override the certificate validation
>>>>>> in do_rootfs and get the binaries imstalled in final image
>>>>>>
>>>>>> Regards
>>>>>> Mayank
>>>>>>
>>>>>>
>>>>>> --
>>>>>> _______________________________________________
>>>>>> yocto mailing list
>>>>>> yocto at yoctoproject.org
>>>>>> https://lists.yoctoproject.org/listinfo/yocto
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *"Do or do not. There is no try"*
>>>>>   *Yoda Master*
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> *"Do or do not. There is no try"*
>>>   *Yoda Master*
>>>
>>
>>
>
>
> --
> *"Do or do not. There is no try"*
>   *Yoda Master*
>



-- 
*"Do or do not. There is no try"*
  *Yoda Master*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150922/1c65d9d5/attachment.html>


More information about the yocto mailing list