Skip to contentSkip to conversation

talloc: ignore exit status of rmdir

PATCH In review [email protected] 1 participant 3 messages Sep 9, 2014

lore
Share & tools
lore
#0 lore raw

cover talloc: ignore exit status of rmdir

From: Wenzong Fan <[email protected]>

* fix do_insall errors:
rmdir: failed to remove `.../talloc/2.0.1-r2/image/usr/bin': \
No such file or directory

The following changes since commit 46824934fa4ac6a61bebe2c92faa31c0a8e85392:

meta-networking: Update layer dependency information (2014-09-08 16:34:25 -0400)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib wenzong/fix-talloc
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=wenzong/fix-talloc

Wenzong Fan (1):
talloc: ignore exit status of rmdir

 meta-oe/recipes-support/talloc/talloc_2.0.1.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 talloc: ignore exit status of rmdir

From: Wenzong Fan <[email protected]>

* fix do_insall errors:
rmdir: failed to remove `.../talloc/2.0.1-r2/image/usr/bin': \
No such file or directory

---
 meta-oe/recipes-support/talloc/talloc_2.0.1.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/talloc/talloc_2.0.1.bb +1 -1
index 48c0915..ed3e2c1 100644
@@ -29,7 +29,7 @@ do_install_append() {
     ln -s libtalloc.so.2.0.1 ${D}${libdir}/libtalloc.so.2.0
     ln -s libtalloc.so.2.0 ${D}${libdir}/libtalloc.so.2
     ln -s libtalloc.so.2 ${D}${libdir}/libtalloc.so
-    rmdir ${D}${bindir}
+    rmdir ${D}${bindir} || true
 }
 
 PACKAGES += "${PN}-swig"
Signature · 1 line
1.7.9.5
#2 lore raw
In reply to [email protected]

Recall this patch, it should be fixed from the dependency of swig. I'll send out another patches later ...

Sorry for the inconvenience.

// Wenzong

Quoted 21 lines · On 09/09/2014 03:30 PM, [email protected] wrote:

From: Wenzong Fan <[email protected]>

* fix do_insall errors:
rmdir: failed to remove `.../talloc/2.0.1-r2/image/usr/bin': \
No such file or directory

The following changes since commit 46824934fa4ac6a61bebe2c92faa31c0a8e85392:

   meta-networking: Update layer dependency information (2014-09-08 16:34:25 -0400)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib wenzong/fix-talloc
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=wenzong/fix-talloc

Wenzong Fan (1):
talloc: ignore exit status of rmdir

  meta-oe/recipes-support/talloc/talloc_2.0.1.bb |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)