Skip to contentSkip to conversation

avahi-ui: drop rmdir localstatedir in bb recipe

PATCH New Robert Yang 1 participant 2 messages Aug 16, 2014

lore
Share & tools
lore
#0 lore raw

cover avahi-ui: drop rmdir localstatedir in bb recipe

The following changes since commit 324c6ac33ab44e4c1949b8001a53a8ffd2a979e2:

avahi: unset FILES_avahi to avoid packaging files there (2014-08-15 18:20:07 +0100)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib rbt/ava
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/ava

Robert Yang (1):
avahi-ui: drop rmdir localstatedir in bb recipe

 meta/recipes-connectivity/avahi/avahi-ui_0.6.31.bb |    1 -
 1 file changed, 1 deletion(-)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 avahi-ui: drop rmdir localstatedir in bb recipe

There is a "rmdir --ignore-fail-on-non-empty ${D}${localstatedir}" in avahi.inc, so drop the one in avahi-ui_0.6.31.bb, otherwise do_install error:
rmdir: failed to remove `/path/to/image/var': No such file or directory

---
 meta/recipes-connectivity/avahi/avahi-ui_0.6.31.bb |    1 -
 1 file changed, 1 deletion(-)
meta/recipes-connectivity/avahi/avahi-ui_0.6.31.bb +0 -1
index 557c1c1..070530e 100644
@@ -64,6 +64,5 @@ do_install_append () {
 	rm ${D}${mandir}/man1/a*
 	rm ${D}${mandir}/man5 -rf
 	rm ${D}${mandir}/man8 -rf
-	rmdir ${D}${localstatedir}
 }
 
Signature · 1 line
1.7.9.5