Return-Path: Received: from Pegasus.RUSSOUND.COM (pegasus.russound.com [64.223.142.81]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 7FAB5E0152A for ; Mon, 29 Jul 2013 12:05:06 -0700 (PDT) Received: from HERMES.RUSSOUND.com (10.0.0.14) by pegasus.RUSSOUND.COM (10.0.0.15) with Microsoft SMTP Server (TLS) id 8.3.298.1; Mon, 29 Jul 2013 15:05:04 -0400 Received: from HERMES.RUSSOUND.com (10.0.0.14) by HERMES.RUSSOUND.com (10.0.0.14) with Microsoft SMTP Server (TLS) id 15.0.620.29; Mon, 29 Jul 2013 15:05:04 -0400 Received: from HERMES.RUSSOUND.com ([fe80::3946:4b97:77b1:c1c5]) by HERMES.RUSSOUND.com ([fe80::3946:4b97:77b1:c1c5%12]) with mapi id 15.00.0620.020; Mon, 29 Jul 2013 15:05:04 -0400 From: Brian Karcz To: "yocto@yoctoproject.org" Thread-Topic: recipe dependency on externally built binaries? Thread-Index: Ac6MirQlju/4ubWnQmiu6GvRyfmo+A== Date: Mon, 29 Jul 2013 19:05:04 +0000 Message-ID: <0a4bf31ea87549a1bf22c3d6e740804a@HERMES.RUSSOUND.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.3.59] MIME-Version: 1.0 Subject: recipe dependency on externally built binaries? X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jul 2013 19:05:07 -0000 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_0a4bf31ea87549a1bf22c3d6e740804aHERMESRUSSOUNDcom_" --_000_0a4bf31ea87549a1bf22c3d6e740804aHERMESRUSSOUNDcom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I'm curious if there is a way to tell a package recipe that its resulting p= ackage output is dependent on the pieces it's assembling. The scenario I ha= ve is as follows. I created a series of recipes that assemble an externally= built executable, and some configurations files that are local to the reci= pe: xyz-app.bb SRC_URI =3D "file:// \ File://xyz-app.config" do_install () { } abc-image.bb POKY_EXTRA_INSTALL +=3D "xyz-app" This setup works for assembling all the pieces I need, but unless the app r= ecipe revision gets bumped, it's not able to tell when the xyz-app executab= le or xyz-app.config get changed and create a new xyz-app package file. Is = there a way to tell the recipe that there is a dependency for its output pa= ckage on the contents of the SRC_URI line without having to bump the revisi= on? These used to be assembled in an image preprocess command, but I wanted to = break out some pieces, that are common to multiple images, into their own r= ecipes in a common layer. In the prior model, all the apps and their config= files (that were local to the image recipe) were assembled every time the = image was bitbaked. Now that they are in their own recipes, some sort of de= pendency is required to re-create the package file that the image is bringi= ng in. Thanks, Brian --_000_0a4bf31ea87549a1bf22c3d6e740804aHERMESRUSSOUNDcom_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

I’m curious if there is a way to tell a package r= ecipe that its resulting package output is dependent on the pieces it’= ;s assembling. The scenario I have is as follows. I created a series of recipes that assemble an externally built executable, and some= configurations files that are local to the recipe:

 

xyz-app.bb

 

    SRC_URI =3D “file://<path t= o xyz-app executable> \

          =      File://x= yz-app.config”

 

    do_install () {

        <make the= required directories>

        <put the = files in their places>

    }

 

abc-image.bb

 

    POKY_EXTRA_INSTALL +=3D “x= yz-app”

 

This setup works for assembling all the pieces I need, = but unless the app recipe revision gets bumped, it’s not able to tell= when the xyz-app executable or xyz-app.config get changed and create a new xyz-app package file. Is there a way to tell the recipe t= hat there is a dependency for its output package on the contents of the SRC= _URI line without having to bump the revision?

 

These used to be assembled in an image preprocess comma= nd, but I wanted to break out some pieces, that are common to multiple imag= es, into their own recipes in a common layer. In the prior model, all the apps and their config files (that were local t= o the image recipe) were assembled every time the image was bitbaked. Now t= hat they are in their own recipes, some sort of dependency is required to r= e-create the package file that the image is bringing in.

 

Thanks,

Brian

 

 

 

 

--_000_0a4bf31ea87549a1bf22c3d6e740804aHERMESRUSSOUNDcom_--