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

login
register
mail settings
Submitter Ross Burton
Date July 17, 2012, 4:16 p.m.
Message ID <1342541781-26628-2-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/32271/
State New
Headers show

Comments

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

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