[yocto] Sumo distro problem with dhcp packet?

Zoran Stojsavljevic zoran.stojsavljevic at gmail.com
Thu Oct 11 04:40:51 PDT 2018


Hello Kosta,

> For example, you can do the below:
> CORE_IMAGE_EXTRA_INSTALL_append = "openssh dhcp-client dhcp-server cmake... "

I added to this example dhcp-relay, just to test the whole build, and
it does work. Actually, I need only dhcp-client for the target (since
I have dhcp-server on the ETH interface on the opposite (VM) side).

Thank you for the help!
Zoran
_______
On Wed, Oct 10, 2018 at 5:57 PM Kosta Zertsekel
<KZertsekel at advaoptical.com> wrote:
>
> 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-bounces at yoctoproject.org <yocto-bounces at yoctoproject.org> on behalf of Zoran Stojsavljevic <zoran.stojsavljevic at 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 at 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 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
>


More information about the yocto mailing list