[OE-core] [PATCH] alsa-utils: Move alsaconf to its own recipe

Koen Kooi koen at dominion.thruhere.net
Mon Apr 29 14:50:38 UTC 2013


Op 29 apr. 2013, om 15:54 heeft Richard Purdie <rpurdie at rpsys.net> het volgende geschreven:

> On Thu, 2013-04-25 at 13:47 +0100, Phil Blundell wrote:
>> 18575b082a4042376fd1575465e69562dea04ddc added bash as a dependency of
>> alsa-utils-alsaconf so that the script interpreter will be available at
>> run time.  However, this has the undesirable side effect of making bash
>> be a build dependency for alsa-utils and, for those folks who don't need
>> alsaconf but do want some other part of alsa-utils, this cure is worse
>> than the original disease.
>> 
>> Fix this by moving alsaconf to a separate recipe so that the bash
>> dependency only applies when alsaconf is specifically requested.
>> 
>> Signed-off-by: Phil Blundell <philb at gnu.org>
>> ---
>> .../alsa/alsa-utils-alsaconf_1.0.26.bb             |   22 ++++++++++++++++++++
>> meta/recipes-multimedia/alsa/alsa-utils_1.0.26.bb  |   12 +++++++----
>> 2 files changed, 30 insertions(+), 4 deletions(-)
>> create mode 100644 meta/recipes-multimedia/alsa/alsa-utils-alsaconf_1.0.26.bb
> 
> I merged this however I'm not convinced its the right way to handle
> this. I'm wondering about a PACKAGECONFIG which when turned off, deletes
> alsaconf. I suspect that might be a nicer way to handle this kind of
> issue going forward...

Or remove the bashisms from the script, can't be that many, if any.



More information about the Openembedded-core mailing list