* Package mono-libs-4.5 size increase in Mono version 4.4.x
@ 2016-08-17 6:28 Craig McQueen
2016-08-18 1:19 ` Craig McQueen
0 siblings, 1 reply; 3+ messages in thread
From: Craig McQueen @ 2016-08-17 6:28 UTC (permalink / raw)
To: yocto
I've just had to upgrade from Mono 4.2.x to Mono 4.4.x, to get a fix for SMTP SSL/TLS.
I'm using the mono-libs-4.5 package. I see that the size of it has increased quite a lot (several MB) due to the upgrade. It looks as though it's now putting a bunch of files in /usr/lib/mono/4.5-api in addition to the old /usr/lib/mono/4.5.
I can see this mentioned in the Mono 4.4.0 release notes:
http://www.mono-project.com/docs/about-mono/releases/4.4.0/
But the rationale is not entirely clear to me. Is it possible to cut down the Yocto image size by removing one of /usr/lib/mono/4.5-api and /usr/lib/mono/4.5, or some other refactoring?
--
Craig McQueen
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Package mono-libs-4.5 size increase in Mono version 4.4.x
2016-08-17 6:28 Package mono-libs-4.5 size increase in Mono version 4.4.x Craig McQueen
@ 2016-08-18 1:19 ` Craig McQueen
2016-08-25 9:32 ` Alex J Lennon
0 siblings, 1 reply; 3+ messages in thread
From: Craig McQueen @ 2016-08-18 1:19 UTC (permalink / raw)
To: yocto, ajlennon
I wrote:
> I've just had to upgrade from Mono 4.2.x to Mono 4.4.x, to get a fix for SMTP
> SSL/TLS.
>
> I'm using the mono-libs-4.5 package. I see that the size of it has increased
> quite a lot (several MB) due to the upgrade. It looks as though it's now
> putting a bunch of files in /usr/lib/mono/4.5-api in addition to the old
> /usr/lib/mono/4.5.
>
> I can see this mentioned in the Mono 4.4.0 release notes:
> http://www.mono-project.com/docs/about-mono/releases/4.4.0/
>
> But the rationale is not entirely clear to me. Is it possible to cut down the
> Yocto image size by removing one of /usr/lib/mono/4.5-api and
> /usr/lib/mono/4.5, or some other refactoring?
It looks as though, in my image for the device, I only need /usr/lib/mono/4.5.
In my custom layer, I've made a mono_4.4.%.bbappend file which contains:
# Split /usr/lib/mono/4.5-api off into a separate package.
PACKAGES += "${PN}-libs-4.5-api"
FILES_${PN}-libs-4.5-api = "${libdir}/mono/4.5-api/*"
FILES_${PN}-libs-4.5 = "${libdir}/mono/4.5/*"
My image includes the package mono-libs-4.5 (as it did before when I was using Mono 4.2.x). Now the image size is back to near what it was for Mono 4.2.x, and everything on the target device seems to be running fine.
--
Craig McQueen
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Package mono-libs-4.5 size increase in Mono version 4.4.x
2016-08-18 1:19 ` Craig McQueen
@ 2016-08-25 9:32 ` Alex J Lennon
0 siblings, 0 replies; 3+ messages in thread
From: Alex J Lennon @ 2016-08-25 9:32 UTC (permalink / raw)
To: Craig McQueen; +Cc: yocto
On 18/08/2016 03:19, Craig McQueen wrote:
> I wrote:
>> I've just had to upgrade from Mono 4.2.x to Mono 4.4.x, to get a fix for SMTP
>> SSL/TLS.
>>
>> I'm using the mono-libs-4.5 package. I see that the size of it has increased
>> quite a lot (several MB) due to the upgrade. It looks as though it's now
>> putting a bunch of files in /usr/lib/mono/4.5-api in addition to the old
>> /usr/lib/mono/4.5.
>>
>> I can see this mentioned in the Mono 4.4.0 release notes:
>> http://www.mono-project.com/docs/about-mono/releases/4.4.0/
>>
>> But the rationale is not entirely clear to me. Is it possible to cut down the
>> Yocto image size by removing one of /usr/lib/mono/4.5-api and
>> /usr/lib/mono/4.5, or some other refactoring?
> It looks as though, in my image for the device, I only need /usr/lib/mono/4.5.
>
> In my custom layer, I've made a mono_4.4.%.bbappend file which contains:
>
> # Split /usr/lib/mono/4.5-api off into a separate package.
> PACKAGES += "${PN}-libs-4.5-api"
>
> FILES_${PN}-libs-4.5-api = "${libdir}/mono/4.5-api/*"
> FILES_${PN}-libs-4.5 = "${libdir}/mono/4.5/*"
>
> My image includes the package mono-libs-4.5 (as it did before when I was using Mono 4.2.x). Now the image size is back to near what it was for Mono 4.2.x, and everything on the target device seems to be running fine.
>
Thanks Craig. I'll take a look at adding this in
Cheers, Alex
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-08-25 9:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-17 6:28 Package mono-libs-4.5 size increase in Mono version 4.4.x Craig McQueen
2016-08-18 1:19 ` Craig McQueen
2016-08-25 9:32 ` Alex J Lennon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.