[OE-core] [PATCH] libc-package: fix typo causing annoying diagnostic

Phil Blundell pb at pbcl.net
Thu Jun 2 12:12:24 UTC 2011


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 at gnu.org>
---
 meta/classes/libc-package.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-package.bbclass
index 047464e..55e3d48 100644
--- a/meta/classes/libc-package.bbclass
+++ b/meta/classes/libc-package.bbclass
@@ -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
 }
-- 
1.7.2.5







More information about the Openembedded-core mailing list