When using DISTRO=poky-tiny we dont need to have thermald and also it brings about ~4MB of dependencies.
This patch, avoids installing thermald in such case reducing the size of tiny images by about 60%' Signed-off-by: Alejandro Hernandez <[email protected]> --- conf/machine/include/meta-intel.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/conf/machine/include/meta-intel.inc b/conf/machine/include/meta-intel.inc index 34a672c..3ca9efa 100644 --- a/conf/machine/include/meta-intel.inc +++ b/conf/machine/include/meta-intel.inc @@ -26,9 +26,11 @@ XSERVER_X86_MATROX_MGA = "xf86-video-mga \ XSERVER_X86_ASPEED_AST = "xf86-video-ast \ " +# Thermald brings about 4 MB of dependencies, which we dont need when using poky-tiny +MACHINE_ESSENTIAL_EXTRA_RDEPENDS_append = "${@bb.utils.contains('DISTRO','poky-tiny', '', ' thermald', d)}" # include the user space intel microcode loading support in the generated images. -MACHINE_ESSENTIAL_EXTRA_RDEPENDS_append = "${@bb.utils.contains('MACHINE_FEATURES', 'intel-ucode', ' intel-microcode', '', d)} thermald" +MACHINE_ESSENTIAL_EXTRA_RDEPENDS_append = "${@bb.utils.contains('MACHINE_FEATURES', 'intel-ucode', ' intel-microcode',' ', d)}" # recommended extra packages common to all intel machines MACHINE_EXTRA_RRECOMMENDS_append = " kernel-modules linux-firmware" -- 2.12.3 -- _______________________________________________ meta-intel mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-intel
