From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 71BF3E00C96; Tue, 22 Dec 2015 04:50:15 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [80.237.132.60 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from wp053.webpack.hosteurope.de (wp053.webpack.hosteurope.de [80.237.132.60]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 13244E00457 for ; Tue, 22 Dec 2015 04:50:12 -0800 (PST) Received: from p5486940c.dip0.t-ipconnect.de ([84.134.148.12] helo=[192.168.90.7]); authenticated by wp053.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) id 1aBMOJ-0006f3-Mj; Tue, 22 Dec 2015 13:50:11 +0100 To: Ioan-Adrian Ratiu References: <56791A82.7050809@arigo-software.de> <20151222123843.1f35df99@adi-pc-linux> <567929CD.9030604@arigo-software.de> <20151222130358.3a83dc55@adi-pc-linux> From: Simon Ruetzler Message-ID: <5679470D.6050307@arigo-software.de> Date: Tue, 22 Dec 2015 13:50:21 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <20151222130358.3a83dc55@adi-pc-linux> X-bounce-key: webpack.hosteurope.de; sruetzler@arigo-software.de; 1450788613; 2c8f1cd4; Cc: yocto@yoctoproject.org Subject: Re: yocto package naming 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: Tue, 22 Dec 2015 12:50:15 -0000 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Hello, thanks for the help. I think the solution is as you mention to put the lib in an extra package. Regards Simon Am 22.12.2015 um 12:03 schrieb Ioan-Adrian Ratiu: > On Tue, 22 Dec 2015 11:45:33 +0100 > Simon Ruetzler wrote: > >> Hello, >> the demo package is the first package. I clear the list with PACKAGES = "" >> They package should contain this files, this is not the problem. >> The problem is the resulting package name. The name should be >> rumo-cpp-demo-1.0rc... and not libscom1-1.0-rc... >> Regards Simon > How about creating a separate recipe rumo-cpp-demo which depends on libscom? > > Why exactly prompts you to create rumo-cpp-demo from inside the libscom recipe? > Aren't these two different software packages altogether? > >> Am 22.12.2015 um 11:38 schrieb Ioan-Adrian Ratiu: >>> Hi >>> >>> On Tue, 22 Dec 2015 10:40:18 +0100 >>> Simon Ruetzler wrote: >>> >>>> Hello, >>>> I want to create different packages from one recipe. >>>> >>>> This is working except for one package. >>>> I addes this package with >>>> PACKAGES += " ${PN}-demo" >>>> and I expected that it is named with the recipe name and demo. In this >>>> case rumo-cpp-demo-1.0-rc... >>>> But the name is libscom1-1.0-rc.. >>>> >>>> The demo package contains the files for a dynamic library: libscom.so, >>>> libscom.so.1 and libscom.so.1.5.0 >>>> and this library name is automatically used for the package name. >>>> >>>> For the other packages the name are as expected. All package are defined >>>> in the same way except that FILES_.. definition is different. >>>> This packages also have dynamic libs but only the libname.so.1 files and >>>> the libname.so as a link. >>>> >>>> Why is the demo package created with the libscom name? How can I disable >>>> this? >>> Maybe the contents of ${PN}-demo get gobbled up by another package defined >>> before it in PACKAGES? The order of the contents of var PACKAGES matters: >>> it defines precedence, the first package to match a file includes it. >>> >>> Try prepending to PACKAGES, something like this: >>> PACKAGES =+ "${PN}-demo " >>> >>>> Regards Simon >