Patchwork micro.conf: Pin an older udev to avoid space consuming dependencies.

login
register
mail settings
Submitter Graham Gower
Date Dec. 24, 2010, 1:34 a.m.
Message ID <4D13F894.4010100@gmail.com>
Download mbox | patch
Permalink /patch/116/
State New, archived
Headers show

Comments

Graham Gower - Dec. 24, 2010, 1:34 a.m.
micro-uclibc/micro-image with udev 124 = 957207 bytes.
micro-uclibc/micro-image with udev 162 = 2303604 bytes.

Signed-off-by: Graham Gower <graham.gower@gmail.com>
---
 conf/distro/micro.conf |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Michael Smith - Dec. 24, 2010, 3:54 a.m.
On Fri, 24 Dec 2010, Graham Gower wrote:

> micro-uclibc/micro-image with udev 124 = 957207 bytes.
> micro-uclibc/micro-image with udev 162 = 2303604 bytes.

Could you be convinced to try udev 141? When I build it, its only 
runtime dependencies are glibc and libvolume-id.

> +PREFERRED_VERSION_udev ?= "124"

I'd suggest adding a comment above this setting, something like:

# Pin an older udev to avoid space consuming dependencies.

Otherwise the rationale doesn't show unless you do a git blame.

Mike
Graham Gower - Dec. 24, 2010, 4:40 a.m.
On 24 December 2010 14:24, Michael Smith <msmith@cbnco.com> wrote:
> On Fri, 24 Dec 2010, Graham Gower wrote:
>
>> micro-uclibc/micro-image with udev 124 = 957207 bytes.
>> micro-uclibc/micro-image with udev 162 = 2303604 bytes.
>
> Could you be convinced to try udev 141? When I build it, its only
> runtime dependencies are glibc and libvolume-id.

I'll do some testing with 124. Until recently, udev 124 was the
highest version without D_P = -1, so it has had more testing with
distros that don't pin anything (in particular, with minimal).

>
>> +PREFERRED_VERSION_udev ?= "124"
>
> I'd suggest adding a comment above this setting, something like:
>
> # Pin an older udev to avoid space consuming dependencies.
>
> Otherwise the rationale doesn't show unless you do a git blame.

Sure.

>
> Mike
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
Graham Gower - Dec. 24, 2010, 4:41 a.m.
On 24 December 2010 15:10, Graham Gower <graham.gower@gmail.com> wrote:
> On 24 December 2010 14:24, Michael Smith <msmith@cbnco.com> wrote:
>> On Fri, 24 Dec 2010, Graham Gower wrote:
>>
>>> micro-uclibc/micro-image with udev 124 = 957207 bytes.
>>> micro-uclibc/micro-image with udev 162 = 2303604 bytes.
>>
>> Could you be convinced to try udev 141? When I build it, its only
>> runtime dependencies are glibc and libvolume-id.
>
> I'll do some testing with 124.

Miscommunication between brain and keyboard. I meant, i'll test 141.
Graham Gower - Dec. 24, 2010, 6:03 a.m.
On 24 December 2010 15:11, Graham Gower <graham.gower@gmail.com> wrote:
> On 24 December 2010 15:10, Graham Gower <graham.gower@gmail.com> wrote:
>> On 24 December 2010 14:24, Michael Smith <msmith@cbnco.com> wrote:
>>> On Fri, 24 Dec 2010, Graham Gower wrote:
>>>
>>>> micro-uclibc/micro-image with udev 124 = 957207 bytes.
>>>> micro-uclibc/micro-image with udev 162 = 2303604 bytes.
>>>
>>> Could you be convinced to try udev 141? When I build it, its only
>>> runtime dependencies are glibc and libvolume-id.
>>
>> I'll do some testing with 124.
>
> Miscommunication between brain and keyboard. I meant, i'll test 141.
>

Well udev 141 seems to work ok, but micro-uclibc/micro-image is 100k
bigger, at 1069155 bytes.

Perhaps IMAGE_DEV_MANAGER = "busybox-mdev" should be a distro policy
for one or both of the micros.

Patch

diff --git a/conf/distro/micro.conf b/conf/distro/micro.conf
index 102afa1..2b19b84 100644
--- a/conf/distro/micro.conf
+++ b/conf/distro/micro.conf
@@ -79,6 +79,8 @@  MACHINE_OVERRIDES += "${MACHINE_CLASS}"
 #############################################################################
 require conf/distro/include/preferred-xorg-versions-X11R7.5.inc
 
+PREFERRED_VERSION_udev ?= "124"
+
 #############################################################################
 # NLS
 #############################################################################