[oe-commits] Phil Blundell : libc-package: fix typo causing annoying diagnostic

git version control git at git.openembedded.org
Thu Jun 2 15:07:35 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: 5b09d5dbac044277b5f1145057d1fc716ec35b9a
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=5b09d5dbac044277b5f1145057d1fc716ec35b9a

Author: Phil Blundell <pb at pbcl.net>
Date:   Thu Jun  2 13:12:24 2011 +0100

libc-package: fix typo causing annoying diagnostic

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>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.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
 }





More information about the Openembedded-commits mailing list