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

Joe MacDonald joe at deserted.net
Fri Sep 6 13:41:36 UTC 2013


[Re: [oe] [meta-networking][PATCH] inetutils: Remove empty usr/lib] On 13.09.05 (Thu 15:32) Khem Raj wrote:

> 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.

Yep, I'm sold.

Merged.

-J.

> 
> >
> >>  }
> >>
> >>  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
> >
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
-Joe MacDonald.
:wq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20130906/fe4abf92/attachment-0002.sig>


More information about the Openembedded-devel mailing list