> Am 30.12.2015 um 11:55 schrieb Mike Looijmans <[email protected]>: > > Found that the cause is "inherit cpan-base", this hardcodes "perl" into the > package. > > I think this requires a split-up of cpan-base.bbclass into two parts, so that > one get obtain the perl version without adding these dependencies.
It's more reasonable to "move" the RDEPENDS from cpan-base.bbclass to
cpan.bbclass and cpan_build.bbclass (WITH commend in source).
cpan-base.bbclass might be an unfortunate place for adding RDEPENDS, since it's
just a helper (abstract base class ^^)
> On 30-12-15 11:34, Mike Looijmans wrote:
>> When building the current version of samba, it builds perl and drags it
>> into the image through an RDEPENDS.
>>
>> I've been researching this for a while, but failed to figure out what
>> causes this runtime relation. Is there a way to find out where this is
>> being "detected"?
>>
>> The workaround I implemented is simply adding this line to the samba
>> recipe, which at least gets rid of the overhead in the image:
>>
>> RDEPENDS_${PN}_remove = "perl"
>>
>> (Samba 4 is bloated enough by itself, it doesn't need other packages to
>> inflate its runtime even more)
>>
>
Cheers
--
Jens Rehsack - [email protected]
signature.asc
Description: Message signed with OpenPGP using GPGMail
-- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
