Hi Expert,
Because we don't include many tools/packages in core-image-base.bb, but the rootfs is quite large.
As I know, we need to add module name to this file to enable specific function, e.g. dhcp, but I have still seen lots of tools be enabled by default. Would you please advise where these tools are enabled ?
FILE: sources/poky/meta/recipes-core/images/core-image-base.bb
SUMMARY = "A console-only image that fully supports the target device \
hardware."
#IMAGE_FEATURES += "splash"
LICENSE = "MIT"
inherit core-image
IMAGE_INSTALL += "dhcp"
Regards,
Steven Yu
Hi stevenyu ,
For default enabled tools you can refer .bbclass file of core-image (FILE: sources/poky/meta/classes/core-image.bbclass). As core-image class is inherited from core-image-base.bb.
Regards,
Radhika Somaiya.
Hi steven,
You only need to configure build/conf/local.conf, like below:
(1) adding packages
# for example, add perl
... ...
IMAGE_INSTALL_append = " \
perl \
perl-module-base \
perl-module-findbin"
......
(2) deleting packages
......
PACKAGE_EXCLUDE = "package_name1 package_name2 package_name3 ..."
......
In addition, on how to add / delete packages in Yocto, you can find many documents from internet.
Have a nice day!
BR,
weidong