Skip to contentSkip to conversation

libc-package: fix typo causing annoying diagnostic

PATCH Applied Phil Blundell 2 participants 2 messages Jun 2, 2011 – Jun 3, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 meta/classes/libc-package.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/classes/libc-package.bbclass +1 -1
index 047464e..55e3d48 100644
@@ -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
 }
Signature · 1 line
1.7.2.5
Applied
#1 lore raw
Quoted 15 lines · Phil Blundell

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.

---
  meta/classes/libc-package.bbclass |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
meta/classes/libc-package.bbclass +0 -0
index 047464e..55e3d48 100644

meta/classes/libc-package.bbclass do_install() { · line 104

Quoted 8 lines
meta/classes/libc-package.bbclass +1 -1
@@ -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
  }

Merged into oe-core

Thanks
Sau!