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 ?
SUMMARY = "A console-only image that fully supports the target device \
#IMAGE_FEATURES += "splash"
LICENSE = "MIT"
IMAGE_INSTALL += "dhcp"
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.
You only need to configure build/conf/local.conf, like below:
(1) adding packages
# for example, add perl
IMAGE_INSTALL_append = " \
(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!