[1/2] connman: fix build with automake 1.12

Submitted by Ross Burton on July 17, 2012, 4:16 p.m.

Details

Message ID 1342541781-26628-2-git-send-email-ross.burton@intel.com
State New
Headers show

Commit Message

Ross Burton July 17, 2012, 4:16 p.m.
Automake was not installing /usr/lib/connman/plugins, but we need that installed.

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-connectivity/connman/connman.inc |    4 ++++
 1 file changed, 4 insertions(+)

Patch hide | download patch | download mbox

diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc
index 58cac0b..72d22b6 100644
--- a/meta/recipes-connectivity/connman/connman.inc
+++ b/meta/recipes-connectivity/connman/connman.inc
@@ -72,6 +72,10 @@  do_install_append() {
 
 	# We don't need to package an empty directory
 	rmdir ${D}${libdir}/connman/scripts
+
+	# Automake 1.12 won't install empty directories, but we need the
+	# plugins directory to be present for ownership
+	mkdir -p ${D}${libdir}/connman/plugins
 }
 
 # These used to be plugins, but now they are core