* krogoth's core-image-minimal is much bigger than jethro's
@ 2016-05-13 6:48 Robert Yang
2016-05-13 7:07 ` Andrea Adami
0 siblings, 1 reply; 6+ messages in thread
From: Robert Yang @ 2016-05-13 6:48 UTC (permalink / raw)
To: oe-core
* For ext4:
11M -> 26M
The similar to vmdk, qcow2 and iso.
* For tar.bz2:
2.7M -> 4.5M
The main problem is eudev-hwdb which would be 12M after installed, jethro
doesn't use this, but udev by default, and it's gone in krogoth.
$ du -sh core-image-minimal/1.0-r0/rootfs/etc/udev/*
0 core-image-minimal/1.0-r0/rootfs/etc/udev/cache.data
6.4M core-image-minimal/1.0-r0/rootfs/etc/udev/hwdb.bin
5.2M core-image-minimal/1.0-r0/rootfs/etc/udev/hwdb.d
8.0K core-image-minimal/1.0-r0/rootfs/etc/udev/rules.d
4.0K core-image-minimal/1.0-r0/rootfs/etc/udev/udev.conf
Is there an easier way to fix this problem, please ? It's not a good
news for the user who uses core-imag-minimal/udev when they want to
upgrade to krogoth. And this would hurt the small device which uses
udev.
The conf is:
MACHINE = "qemux86-64"
DISTRO = "poky"
PACKAGE_CLASSES = "package_rpm"
EXTRA_IMAGE_FEATURES = "debug-tweaks"
USER_CLASSES = "buildstats image-mklibs"
$ bitbake core-image-minimal
For jethro:
$ ls -lh core-image-minimal-qemux86-64-20160513061306.rootfs.ext4
11M core-image-minimal-qemux86-64-20160513061306.rootfs.ext4
$ du -sh core-image-minimal-qemux86-64-20160513061306.rootfs.ext4
7.9M core-image-minimal-qemux86-64-20160513061306.rootfs.ext4
For krogoth:
$ ls -lh core-image-minimal-qemux86-64-20160513061459.rootfs.ext4
26M core-image-minimal-qemux86-64-20160513061459.rootfs.ext4
$ du -sh core-image-minimal-qemux86-64-20160513061459.rootfs.ext4
core-image-minimal-qemux86-64-20160513061459.rootfs.ext4
--
Thanks
Robert
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: krogoth's core-image-minimal is much bigger than jethro's
2016-05-13 6:48 krogoth's core-image-minimal is much bigger than jethro's Robert Yang
@ 2016-05-13 7:07 ` Andrea Adami
2016-05-13 7:23 ` Robert Yang
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Andrea Adami @ 2016-05-13 7:07 UTC (permalink / raw)
To: Robert Yang; +Cc: oe-core
On Fri, May 13, 2016 at 8:48 AM, Robert Yang <liezhi.yang@windriver.com> wrote:
>
> * For ext4:
> 11M -> 26M
> The similar to vmdk, qcow2 and iso.
>
> * For tar.bz2:
> 2.7M -> 4.5M
>
> The main problem is eudev-hwdb which would be 12M after installed, jethro
> doesn't use this, but udev by default, and it's gone in krogoth.
> $ du -sh core-image-minimal/1.0-r0/rootfs/etc/udev/*
> 0 core-image-minimal/1.0-r0/rootfs/etc/udev/cache.data
> 6.4M core-image-minimal/1.0-r0/rootfs/etc/udev/hwdb.bin
> 5.2M core-image-minimal/1.0-r0/rootfs/etc/udev/hwdb.d
> 8.0K core-image-minimal/1.0-r0/rootfs/etc/udev/rules.d
> 4.0K core-image-minimal/1.0-r0/rootfs/etc/udev/udev.conf
>
> Is there an easier way to fix this problem, please ? It's not a good
> news for the user who uses core-imag-minimal/udev when they want to
> upgrade to krogoth. And this would hurt the small device which uses
> udev.
>
Somehow we have to explicitely opt-out:
+BAD_RECOMMENDATIONS += "eudev-hwdb"
IMHO for embedded devices it would be better to disable by default and
let the distro/machine add a specific RRECOMMEND.
Regards
Andrea
>
> The conf is:
> MACHINE = "qemux86-64"
> DISTRO = "poky"
> PACKAGE_CLASSES = "package_rpm"
> EXTRA_IMAGE_FEATURES = "debug-tweaks"
> USER_CLASSES = "buildstats image-mklibs"
>
> $ bitbake core-image-minimal
>
> For jethro:
> $ ls -lh core-image-minimal-qemux86-64-20160513061306.rootfs.ext4
> 11M core-image-minimal-qemux86-64-20160513061306.rootfs.ext4
> $ du -sh core-image-minimal-qemux86-64-20160513061306.rootfs.ext4
> 7.9M core-image-minimal-qemux86-64-20160513061306.rootfs.ext4
>
> For krogoth:
>
> $ ls -lh core-image-minimal-qemux86-64-20160513061459.rootfs.ext4
> 26M core-image-minimal-qemux86-64-20160513061459.rootfs.ext4
>
> $ du -sh core-image-minimal-qemux86-64-20160513061459.rootfs.ext4
> core-image-minimal-qemux86-64-20160513061459.rootfs.ext4
>
> --
> Thanks
>
> Robert
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: krogoth's core-image-minimal is much bigger than jethro's
2016-05-13 7:07 ` Andrea Adami
@ 2016-05-13 7:23 ` Robert Yang
2016-05-13 7:46 ` Gary Thomas
2016-05-13 7:46 ` Gary Thomas
2016-05-13 14:05 ` Burton, Ross
2 siblings, 1 reply; 6+ messages in thread
From: Robert Yang @ 2016-05-13 7:23 UTC (permalink / raw)
To: Andrea Adami; +Cc: oe-core
On 05/13/2016 03:07 PM, Andrea Adami wrote:
> On Fri, May 13, 2016 at 8:48 AM, Robert Yang <liezhi.yang@windriver.com> wrote:
>>
>> * For ext4:
>> 11M -> 26M
>> The similar to vmdk, qcow2 and iso.
>>
>> * For tar.bz2:
>> 2.7M -> 4.5M
>>
>> The main problem is eudev-hwdb which would be 12M after installed, jethro
>> doesn't use this, but udev by default, and it's gone in krogoth.
>> $ du -sh core-image-minimal/1.0-r0/rootfs/etc/udev/*
>> 0 core-image-minimal/1.0-r0/rootfs/etc/udev/cache.data
>> 6.4M core-image-minimal/1.0-r0/rootfs/etc/udev/hwdb.bin
>> 5.2M core-image-minimal/1.0-r0/rootfs/etc/udev/hwdb.d
>> 8.0K core-image-minimal/1.0-r0/rootfs/etc/udev/rules.d
>> 4.0K core-image-minimal/1.0-r0/rootfs/etc/udev/udev.conf
>>
>> Is there an easier way to fix this problem, please ? It's not a good
>> news for the user who uses core-imag-minimal/udev when they want to
>> upgrade to krogoth. And this would hurt the small device which uses
>> udev.
>>
>
> Somehow we have to explicitely opt-out:
>
> +BAD_RECOMMENDATIONS += "eudev-hwdb"
Does udev still work without eudev-hwdb, please ?
// Robert
>
> IMHO for embedded devices it would be better to disable by default and
> let the distro/machine add a specific RRECOMMEND.
>
> Regards
> Andrea
>
>>
>> The conf is:
>> MACHINE = "qemux86-64"
>> DISTRO = "poky"
>> PACKAGE_CLASSES = "package_rpm"
>> EXTRA_IMAGE_FEATURES = "debug-tweaks"
>> USER_CLASSES = "buildstats image-mklibs"
>>
>> $ bitbake core-image-minimal
>>
>> For jethro:
>> $ ls -lh core-image-minimal-qemux86-64-20160513061306.rootfs.ext4
>> 11M core-image-minimal-qemux86-64-20160513061306.rootfs.ext4
>> $ du -sh core-image-minimal-qemux86-64-20160513061306.rootfs.ext4
>> 7.9M core-image-minimal-qemux86-64-20160513061306.rootfs.ext4
>>
>> For krogoth:
>>
>> $ ls -lh core-image-minimal-qemux86-64-20160513061459.rootfs.ext4
>> 26M core-image-minimal-qemux86-64-20160513061459.rootfs.ext4
>>
>> $ du -sh core-image-minimal-qemux86-64-20160513061459.rootfs.ext4
>> core-image-minimal-qemux86-64-20160513061459.rootfs.ext4
>>
>> --
>> Thanks
>>
>> Robert
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: krogoth's core-image-minimal is much bigger than jethro's
2016-05-13 7:07 ` Andrea Adami
2016-05-13 7:23 ` Robert Yang
@ 2016-05-13 7:46 ` Gary Thomas
2016-05-13 14:05 ` Burton, Ross
2 siblings, 0 replies; 6+ messages in thread
From: Gary Thomas @ 2016-05-13 7:46 UTC (permalink / raw)
To: openembedded-core
On 2016-05-13 09:07, Andrea Adami wrote:
> On Fri, May 13, 2016 at 8:48 AM, Robert Yang <liezhi.yang@windriver.com> wrote:
>>
>> * For ext4:
>> 11M -> 26M
>> The similar to vmdk, qcow2 and iso.
>>
>> * For tar.bz2:
>> 2.7M -> 4.5M
>>
>> The main problem is eudev-hwdb which would be 12M after installed, jethro
>> doesn't use this, but udev by default, and it's gone in krogoth.
>> $ du -sh core-image-minimal/1.0-r0/rootfs/etc/udev/*
>> 0 core-image-minimal/1.0-r0/rootfs/etc/udev/cache.data
>> 6.4M core-image-minimal/1.0-r0/rootfs/etc/udev/hwdb.bin
>> 5.2M core-image-minimal/1.0-r0/rootfs/etc/udev/hwdb.d
>> 8.0K core-image-minimal/1.0-r0/rootfs/etc/udev/rules.d
>> 4.0K core-image-minimal/1.0-r0/rootfs/etc/udev/udev.conf
>>
>> Is there an easier way to fix this problem, please ? It's not a good
>> news for the user who uses core-imag-minimal/udev when they want to
>> upgrade to krogoth. And this would hurt the small device which uses
>> udev.
>>
>
> Somehow we have to explicitely opt-out:
>
> +BAD_RECOMMENDATIONS += "eudev-hwdb"
>
> IMHO for embedded devices it would be better to disable by default and
> let the distro/machine add a specific RRECOMMEND.
+1
>
> Regards
> Andrea
>
>>
>> The conf is:
>> MACHINE = "qemux86-64"
>> DISTRO = "poky"
>> PACKAGE_CLASSES = "package_rpm"
>> EXTRA_IMAGE_FEATURES = "debug-tweaks"
>> USER_CLASSES = "buildstats image-mklibs"
>>
>> $ bitbake core-image-minimal
>>
>> For jethro:
>> $ ls -lh core-image-minimal-qemux86-64-20160513061306.rootfs.ext4
>> 11M core-image-minimal-qemux86-64-20160513061306.rootfs.ext4
>> $ du -sh core-image-minimal-qemux86-64-20160513061306.rootfs.ext4
>> 7.9M core-image-minimal-qemux86-64-20160513061306.rootfs.ext4
>>
>> For krogoth:
>>
>> $ ls -lh core-image-minimal-qemux86-64-20160513061459.rootfs.ext4
>> 26M core-image-minimal-qemux86-64-20160513061459.rootfs.ext4
>>
>> $ du -sh core-image-minimal-qemux86-64-20160513061459.rootfs.ext4
>> core-image-minimal-qemux86-64-20160513061459.rootfs.ext4
>>
>> --
>> Thanks
>>
>> Robert
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: krogoth's core-image-minimal is much bigger than jethro's
2016-05-13 7:23 ` Robert Yang
@ 2016-05-13 7:46 ` Gary Thomas
0 siblings, 0 replies; 6+ messages in thread
From: Gary Thomas @ 2016-05-13 7:46 UTC (permalink / raw)
To: openembedded-core
On 2016-05-13 09:23, Robert Yang wrote:
>
>
> On 05/13/2016 03:07 PM, Andrea Adami wrote:
>> On Fri, May 13, 2016 at 8:48 AM, Robert Yang <liezhi.yang@windriver.com> wrote:
>>>
>>> * For ext4:
>>> 11M -> 26M
>>> The similar to vmdk, qcow2 and iso.
>>>
>>> * For tar.bz2:
>>> 2.7M -> 4.5M
>>>
>>> The main problem is eudev-hwdb which would be 12M after installed, jethro
>>> doesn't use this, but udev by default, and it's gone in krogoth.
>>> $ du -sh core-image-minimal/1.0-r0/rootfs/etc/udev/*
>>> 0 core-image-minimal/1.0-r0/rootfs/etc/udev/cache.data
>>> 6.4M core-image-minimal/1.0-r0/rootfs/etc/udev/hwdb.bin
>>> 5.2M core-image-minimal/1.0-r0/rootfs/etc/udev/hwdb.d
>>> 8.0K core-image-minimal/1.0-r0/rootfs/etc/udev/rules.d
>>> 4.0K core-image-minimal/1.0-r0/rootfs/etc/udev/udev.conf
>>>
>>> Is there an easier way to fix this problem, please ? It's not a good
>>> news for the user who uses core-imag-minimal/udev when they want to
>>> upgrade to krogoth. And this would hurt the small device which uses
>>> udev.
>>>
>>
>> Somehow we have to explicitely opt-out:
>>
>> +BAD_RECOMMENDATIONS += "eudev-hwdb"
>
> Does udev still work without eudev-hwdb, please ?
Yes, it works fine, even with hotplug devices.
>
> // Robert
>
>>
>> IMHO for embedded devices it would be better to disable by default and
>> let the distro/machine add a specific RRECOMMEND.
>>
>> Regards
>> Andrea
>>
>>>
>>> The conf is:
>>> MACHINE = "qemux86-64"
>>> DISTRO = "poky"
>>> PACKAGE_CLASSES = "package_rpm"
>>> EXTRA_IMAGE_FEATURES = "debug-tweaks"
>>> USER_CLASSES = "buildstats image-mklibs"
>>>
>>> $ bitbake core-image-minimal
>>>
>>> For jethro:
>>> $ ls -lh core-image-minimal-qemux86-64-20160513061306.rootfs.ext4
>>> 11M core-image-minimal-qemux86-64-20160513061306.rootfs.ext4
>>> $ du -sh core-image-minimal-qemux86-64-20160513061306.rootfs.ext4
>>> 7.9M core-image-minimal-qemux86-64-20160513061306.rootfs.ext4
>>>
>>> For krogoth:
>>>
>>> $ ls -lh core-image-minimal-qemux86-64-20160513061459.rootfs.ext4
>>> 26M core-image-minimal-qemux86-64-20160513061459.rootfs.ext4
>>>
>>> $ du -sh core-image-minimal-qemux86-64-20160513061459.rootfs.ext4
>>> core-image-minimal-qemux86-64-20160513061459.rootfs.ext4
>>>
>>> --
>>> Thanks
>>>
>>> Robert
>>> --
>>> _______________________________________________
>>> Openembedded-core mailing list
>>> Openembedded-core@lists.openembedded.org
>>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>>
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: krogoth's core-image-minimal is much bigger than jethro's
2016-05-13 7:07 ` Andrea Adami
2016-05-13 7:23 ` Robert Yang
2016-05-13 7:46 ` Gary Thomas
@ 2016-05-13 14:05 ` Burton, Ross
2 siblings, 0 replies; 6+ messages in thread
From: Burton, Ross @ 2016-05-13 14:05 UTC (permalink / raw)
To: Andrea Adami; +Cc: oe-core
[-- Attachment #1: Type: text/plain, Size: 233 bytes --]
On 13 May 2016 at 08:07, Andrea Adami <andrea.adami@gmail.com> wrote:
> IMHO for embedded devices it would be better to disable by default and
> let the distro/machine add a specific RRECOMMEND.
>
Patches welcome :)
Ross
[-- Attachment #2: Type: text/html, Size: 626 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-05-13 14:05 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-13 6:48 krogoth's core-image-minimal is much bigger than jethro's Robert Yang
2016-05-13 7:07 ` Andrea Adami
2016-05-13 7:23 ` Robert Yang
2016-05-13 7:46 ` Gary Thomas
2016-05-13 7:46 ` Gary Thomas
2016-05-13 14:05 ` Burton, Ross
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.