[OE-core] [PATCH 2/2] package.bbclass: convert file depends into pkg depends

Mark Hatle mark.hatle at windriver.com
Mon Jul 14 20:04:49 UTC 2014


On 7/14/14, 11:25 AM, Robert Yang wrote:
>
> Hello,
>
> Found that eglibc-utils/usr/bin/tzselect is a bash script, should we
> add:
>
> RDEPENDS_eglibc-utils += "bash" ?
>
> The problem is that this would cause bash installed to meta-toolchain,
> the dependencies chain is:
>
> meta-toolchain -> eglibc-utils -> bash
>
> Maybe we should only warn rather than add the RDEPENDS atm, please ?

Hmm at one point I thought someone has re-written tzselect as posix sh, to avoid 
the bash dependency.

I'd actually suggest this be a defect and we try to find someone who can fix it. 
  (I'd like to eliminate bash dependencies in anything core to a tiny system.)

--Mark

> // Robert
>
> On 07/14/2014 06:29 PM, Burton, Ross wrote:
>> On 14 July 2014 10:41, Robert Yang <liezhi.yang at windriver.com> wrote:
>>> +    prog_maps = {"/bin/bash": "bash", "/usr/bin/perl": "perl", "/usr/bin/python": "python"}
>>
>> Use something like d.expand("${bindir}/perl") instead of hard-coding paths.
>>
>> Ross
>>
>>




More information about the Openembedded-core mailing list