Skip to contentSkip to conversation

krogoth's core-image-minimal is much bigger than jethro's

DISCUSSION Robert Yang 4 participants 6 messages May 13, 2016

lore
Share & tools
lore
#0 lore raw

* 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
Signature · 3 lines
Thanks

Robert
#1 lore raw
Quoted 17 lines · Robert Yang

* 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
Quoted 5 lines

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

Quoted 33 lines

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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#2 lore raw
Quoted 24 lines · Andrea Adami
Quoted 17 lines · Robert Yang

* 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
Quoted 5 lines

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.

Quoted 3 lines

Somehow we have to explicitely opt-out:

+BAD_RECOMMENDATIONS += "eudev-hwdb"

Does udev still work without eudev-hwdb, please ?

// Robert

Quoted 41 lines

IMHO for embedded devices it would be better to disable by default and let the distro/machine add a specific RRECOMMEND.

Regards
Andrea

Quoted 33 lines

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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#3 lore raw
Quoted 27 lines · Robert Yang
Quoted 24 lines · Andrea Adami
Quoted 22 lines · Robert Yang

* 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.

Quoted 5 lines
Quoted 3 lines

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.

Quoted 44 lines

// Robert

Quoted 41 lines

IMHO for embedded devices it would be better to disable by default and let the distro/machine add a specific RRECOMMEND.

Regards
Andrea

Quoted 33 lines

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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#4 lore raw
In reply to Andrea Adami
Quoted 24 lines · Andrea Adami
Quoted 17 lines · Robert Yang

* 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
Quoted 5 lines

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.

Quoted 6 lines

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

Quoted 37 lines

Regards
Andrea

Quoted 33 lines

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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#5 lore raw
In reply to Andrea Adami
Quoted 3 lines · Andrea Adami

IMHO for embedded devices it would be better to disable by default and let the distro/machine add a specific RRECOMMEND.

Patches welcome :)

Ross