[OE-core] Openssl - config file not being pulled in on the install

Saul Wold sgw at linux.intel.com
Wed Jan 23 21:31:47 UTC 2013


On 01/23/2013 01:26 PM, Martin Jansa wrote:
> On Wed, Jan 23, 2013 at 01:17:29PM -0800, Saul Wold wrote:
>> On 01/23/2013 12:10 PM, Belal, Awais wrote:
>>> Hi Guys,
>>>
>>> This probably went un-noticed because I forgot to put a subject the
>>> first time around... my bad!
>>>
>>> I have a question regarding openssl. The openssl.inc file under the poky
>>> package creates a -misc package which is not directly installed unless
>>> either put in RDPENEDS or RRECOMMENDS. This package (-misc) contains the
>>> openssl configuration file which is required while generating
>>> certificates on the target otherwise the command says:
>>> /
>>> WARNING: can't open config file: /usr/lib/ssl/openssl.cnf//
>>> Unable to load config info from /usr/lib/ssl/openssl.cnf//
>>> /
>>>
>>> In an older version of the recipe attached here, the correct method is
>>> being (this is my understanding) to get that file in on the target while
>>> installing.
>>>
>>> Any guidance here would be much appreciated.
>>>
>> Based on reading some of the history and such, I think the best answer
>> would be to move the openssl.cnf file to FILES_${PN} line, since
>> ordering wise it will get pick up that file and it is needed, not
>> recommeded.
>
> Can you please use u-a for that config file if you decide to do it?
>
Excellent suggestion!

probably need to do this with a few more of the config files also!

Sau!

> Some recipes want to provide own openssl.cnf which requires bbappend
> like this one:
> https://github.com/webOS-ports/meta-webos/commit/f2650858ae6f78b016107e622ab7be8a67e954c7
>
> Cheers,
>
>>
>> We would welcome a tested patch.
>>
>> Thanks
>> Sau!
>>
>>> BR,
>>> Awais Belal
>>>
>>>
>>> _______________________________________________
>>> Openembedded-core mailing list
>>> Openembedded-core at lists.openembedded.org
>>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>>>
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core at lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>




More information about the Openembedded-core mailing list