From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [80.91.229.2] (helo=ciao.gmane.org) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1LS0mV-0006A8-5B for openembedded-devel@openembedded.org; Wed, 28 Jan 2009 04:07:59 +0100 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LS0f8-00050i-F8 for openembedded-devel@openembedded.org; Wed, 28 Jan 2009 03:00:23 +0000 Received: from 203.117.215.163 ([203.117.215.163]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Jan 2009 03:00:22 +0000 Received: from robk by 203.117.215.163 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Jan 2009 03:00:22 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: openembedded-devel@openembedded.org From: Rob Kramer Date: Wed, 28 Jan 2009 11:00:11 +0800 Message-ID: Mime-Version: 1.0 X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 203.117.215.163 User-Agent: KNode/0.10.9 Sender: news Subject: Trouble creating virtual library provider package [REPOST] X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2009 03:07:59 -0000 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit [Aaaanyone?] Hi all, How would I go about if I'd like to have two packages that provide the same thing? For example, I have package freetype, and freetype-led (which has a device-specific hack). Or ffmpeg and ffmpeg-minimal (which builds the smallest possible libavcodec/format). The right package is selected by the image recipe, via a task. Is the normal way to do this to make a virtual/freetype and PREFERRED_PROVIDER? I tried to do this, but still have trouble with double providers etc. It gets tricky if package-name munging is involved, where the final package is called libfreetype6_2.3.7-r4_i586.ipk, and not freetype_2.3.7-r4_i586.ipk (and freetype-led_2.3.7-r4_i586.ipk). If this is the right way, can someone point to a good (simple) example of a virtual library provider? Cheers! Rob