]> code.ossystems Code Review - openembedded-core.git/commitdiff
libc-package: fix typo causing annoying diagnostic
authorPhil Blundell <pb@pbcl.net>
Thu, 2 Jun 2011 12:12:24 +0000 (13:12 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Jun 2011 15:05:44 +0000 (16:05 +0100)
We don't package /etc/rpc and do_install() makes some effort to remove
that file so as to avoid the "installed but not shipped" diagnostic.  But,
due to a typo in the command line, the file wasn't actually being removed
and the diagnostic continued to be issued.

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/libc-package.bbclass

index 047464e0aae4acc7bf66d659759c0a9dfc34c6bc..55e3d4853232c13b818d27fa5b07c1ce8b49f071 100644 (file)
@@ -98,7 +98,7 @@ do_install() {
                grep -v $i ${WORKDIR}/SUPPORTED > ${WORKDIR}/SUPPORTED.tmp
                mv ${WORKDIR}/SUPPORTED.tmp ${WORKDIR}/SUPPORTED
        done
-       rm -f ${D}{sysconfdir}/rpc
+       rm -f ${D}${sysconfdir}/rpc
        rm -rf ${D}${datadir}/zoneinfo
        rm -rf ${D}${libexecdir}/getconf
 }