[oe] [meta-networking][PATCH] inetutils: Remove empty usr/lib

Khem Raj raj.khem at gmail.com
Thu Sep 5 22:32:11 UTC 2013


On Thu, Sep 5, 2013 at 2:18 PM, Martin Jansa <martin.jansa at gmail.com> wrote:
> On Thu, Sep 05, 2013 at 02:02:55PM -0700, Khem Raj wrote:
>> This directory is empty and is flagged by QA checker
>>
>> ERROR: QA Issue: inetutils: Files/directories were installed but not
>> shipped
>>   /usr/lib
>>
>> Signed-off-by: Khem Raj <raj.khem at gmail.com>
>> ---
>>  meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb | 2 ++
>>  1 file changed, 2 insertions(+)
>>
>> diff --git a/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb b/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb
>> index 7c7343e..e371ae5 100644
>> --- a/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb
>> +++ b/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb
>> @@ -70,6 +70,8 @@ do_install_append () {
>>      cp ${WORKDIR}/telnet.xinetd.inetutils  ${D}/${sysconfdir}/xinetd.d/telnet
>>      cp ${WORKDIR}/tftpd.xinetd.inetutils  ${D}/${sysconfdir}/xinetd.d/tftpd
>>      rm -rf ${D}${libexecdir}/
>> +    # remove usr/lib if empty
>> +    rmdir ${D}${libdir}
>
> The comment suggests missing --ignore-fail-on-non-empty

hmmm,I would add it when that happens and also then take opportunity
to make sure that they are packaged
into right packages, so far I have not found a case where its populated.

>
>>  }
>>
>>  PACKAGES =+ "${PN}-ping ${PN}-ping6 ${PN}-hostname ${PN}-ifconfig \
>> --
>> 1.8.4
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel at lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
> --
> Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>



More information about the Openembedded-devel mailing list