You need to take a look at the available dhcp packages for dhcp recipe here: https://git.yoctoproject.org/clean/cgit.cgi/poky/tree/meta/recipes-connectivity/dhcp/dhcp.inc#n100
PACKAGES += "dhcp-libs dhcp-server dhcp-server-config dhcp-client dhcp-relay dhcp-omshell" For example, you can do the below: CORE_IMAGE_EXTRA_INSTALL_append = "openssh dhcp-client dhcp-server cmake... " Thanks, --- Kosta Z ________________________________ From: yocto-boun...@yoctoproject.org <yocto-boun...@yoctoproject.org> on behalf of Zoran Stojsavljevic <zoran.stojsavlje...@gmail.com> Sent: Wednesday, 10 October 2018 16:29:05 To: Yocto Project Subject: [yocto] Sumo distro problem with dhcp packet? Hello. I need on my test initramfs YOCTO image to add dhcp package (both dhcp server and client). For the beginning, I traced it, where it is: .../poky/meta/recipes-connectivity/dchp and decided to test it adding it to ...poky/build/conf/local.conf for the starters: CORE_IMAGE_EXTRA_INSTALL_append = "openssh dhcp cmake... " But it produced the following error: [user@fedora28-ssd conf]$ bitbake -k core-image-base [snap] ERROR: Nothing RPROVIDES 'dhcp' (but /home/user/projects2/beaglebone-black/sumo/poky/meta/recipes-core/images/core-image-base.bb<http://core-image-base.bb> RDEPENDS on or otherwise requires it) NOTE: Runtime target 'dhcp' is unbuildable, removing... Missing or unbuildable dependency chain was: ['dhcp'] ERROR: Nothing RPROVIDES 'core-image-base' No eligible RPROVIDERs exist for 'core-image-base' NOTE: Runtime target 'core-image-base' is unbuildable, removing... Missing or unbuildable dependency chain was: ['core-image-base'] I added another package, dhcpcd, which is located in the another layer: CORE_IMAGE_EXTRA_INSTALL_append = "openssh dhcpcd cmake... " so this one worked/was integrated seamlessly. What is the catch 22 here? Thank you, Zoran
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto