Re: [yocto] meta-mono 5.2.x recipe and pdb files

2017-10-18 Thread Alex J Lennon


> On 18 Oct 2017, at 07:22, Craig McQueen  wrote:
> 
> I wrote:
>> 
>> I'm trying to upgrade from mono 4.6.x to 5.2.x. I see resulting image size
>> increases by about 10 MB in my usage. It appears that a significant
>> contributing factor is the presence of *.pdb files in 5.2.x which weren't in
>> 4.6.x.
>> 
>> * Are the *.pdb files necessary?
>> * What can  be done to exclude them?
> 
> Seeing how the recipe handles *.mdb files, I made a bbappend file containing:
> 
> FILES_${PN}-dbg+= "${libdir}/mono/*/*.pdb ${libdir}/mono/*/*/*.pdb 
> ${libdir}/mono/gac/*/*/*.pdb"
> 
> That seems to do it. This should probably be added to the mono recipe files 
> for mono >= 5.0.x.
> 


Sounds good. I’ll take a look at this in the next couple of days.

Cheers,

Alex

> -- 
> Craig McQueen
> 

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] meta-mono 5.2.x recipe and pdb files

2017-10-18 Thread Craig McQueen
I wrote:
> 
> I'm trying to upgrade from mono 4.6.x to 5.2.x. I see resulting image size
> increases by about 10 MB in my usage. It appears that a significant
> contributing factor is the presence of *.pdb files in 5.2.x which weren't in
> 4.6.x.
> 
> * Are the *.pdb files necessary?
> * What can  be done to exclude them?

Seeing how the recipe handles *.mdb files, I made a bbappend file containing:

FILES_${PN}-dbg += "${libdir}/mono/*/*.pdb ${libdir}/mono/*/*/*.pdb 
${libdir}/mono/gac/*/*/*.pdb"

That seems to do it. This should probably be added to the mono recipe files for 
mono >= 5.0.x.

-- 
Craig McQueen

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] meta-mono 5.2.x recipe and pdb files

2017-10-17 Thread Craig McQueen
I'm trying to upgrade from mono 4.6.x to 5.2.x. I see resulting image size 
increases by about 10 MB in my usage. It appears that a significant 
contributing factor is the presence of *.pdb files in 5.2.x which weren't in 
4.6.x.

* Are the *.pdb files necessary?
* What can  be done to exclude them?

-- 
Craig McQueen

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto