Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0AF40C3A5A7 for ; Tue, 6 Dec 2022 22:21:24 +0000 (UTC) Subject: Re: Building a dhcp recipe separately for dhcrelay and dhclient #yocto To: yocto@lists.yoctoproject.org From: "Vaijayanthi" X-Originating-Location: Boston, Massachusetts, US (136.226.79.28) X-Originating-Platform: Mac Firefox 102 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Tue, 06 Dec 2022 14:21:14 -0800 References: In-Reply-To: Message-ID: <7780.1670365274662325677@lists.yoctoproject.org> Content-Type: multipart/alternative; boundary="1dv1k4siRB6l7HYoYctO" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 06 Dec 2022 22:21:24 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/58744 --1dv1k4siRB6l7HYoYctO Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Thanks Khem, can you please help explain or give an example of a package th= at is doing this? If we had separate output packages, are you suggesting we= build 3 times- each time after applying a patch related to dhcrelay and dh= client? We are somewhat doing this today where binaries dhcrelay and dhclient need = to be built with different build options and with different patch files. git apply $WORKSPACE/git-build/dhcrelay.patch devtool modify dhcp devtool build dhcp cp $WORKSPACE/work/poky/build/workspace/sources/ dhcp /relay/dhcrelay $OUR_= WORKPSACE/ dhcp /dhcrelay devtool reset dhcp git apply $WORKSPACE/git-build/dhclient.patch devtool modify dhcp devtool build dhcp cp $WORKSPACE/work/poky/build/workspace/sources/ dhcp /relay/dhclient $OUR_= WORKPSACE/ dhcp /dhclient -- Vaijayanthi --1dv1k4siRB6l7HYoYctO Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

Thanks Khem, can you please help explain or give an e= xample of a package that is doing this? If we had separate output packages,= are you suggesting we build 3 times- each time after applying a patch rela= ted to dhcrelay and dhclient?

=C2=A0

We are somewhat doing this today where binaries dhcre= lay and dhclient need to be built with different build options and with dif= ferent patch files.

=C2=A0

=C2=A0 =C2=A0=C2=A0

=C2=A0 =C2=A0=C2=A0

=C2=A0 =C2=A0=C2=A0git apply $WORKSPACE/git-build/dhcrelay.patch

=C2=A0 =C2=A0=C2=A0devtool modify=C2=A0dhcp

=C2=A0 =C2=A0=C2=A0devtool build=C2=A0dhcp

=C2=A0 =C2=A0=C2=A0cp $WORKSPACE/work/p= oky/build/workspace/sources/dhcp= /relay/dhcrelay $OUR_WORKPSACE/dhcp/dhcrelay

=C2=A0

=C2=A0 =C2=A0=C2=A0devtool reset=C2=A0dhcp

=C2=A0 =C2=A0=C2=A0git apply $WORKSPACE/git-build/dhclient.patch

=C2=A0 =C2=A0=C2=A0devtool modify=C2=A0dhcp

=C2=A0=C2=A0=C2=A0 devtool build=C2=A0dhc= p

=C2=A0=C2=A0=C2=A0 cp $WORKSPACE/work/poky/build/works= pace/sources/dhcp/relay/d= hclient $OUR_WORKPSACE/dhcp/dhclient

=C2=A0

=C2=A0

-- Vaijayanthi

=C2=A0

--1dv1k4siRB6l7HYoYctO--