connman: fix build with automake 1.12
PATCH 1/1 connman: fix build with automake 1.12
--- meta/recipes-connectivity/connman/connman.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
meta/recipes-connectivity/connman/connman.inc +5 -1
@@ -20,7 +20,7 @@ DEPENDS = "dbus glib-2.0 ppp iptables gnutls \ ${@base_contains('DISTRO_FEATURES', '3g','ofono', '', d)} \ " -INC_PR = "r11" +INC_PR = "r12" TIST = "--enable-tist" TIST_powerpc = ""
@@ -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
Signature · 1 line
1.7.10
meta/recipes-connectivity/connman/connman.inc do_install_append() { · line 79
Quoted 4 lines · Ross Burton
meta/recipes-connectivity/connman/connman.inc +3
-0+ # 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 }
Did you consider patching upstream to do this in install-data-local rule? That way everyone gets the fix (Debian/Gentoo/Fedora etc.), not just you.
Quoted 10 lines · Colin Walters
meta/recipes-connectivity/connman/connman.inc do_install_append() { · line 79
Quoted 4 lines · Ross Burton
meta/recipes-connectivity/connman/connman.inc +3
-0+ # 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 }Did you consider patching upstream to do this in install-data-local rule? That way everyone gets the fix (Debian/Gentoo/Fedora etc.), not just you.
Yes, and I also considered that this surely can't be restricted to connman and automake should have some clean way of forcing an empty directory to exist. I'm also pretty certain the automake maintainers response would be "do it in install-data-local", so this should go to connman...
Ross
Quoted 20 lines · Ross Burton
Signed-off-by Ross Burton <[email protected]>--- meta/recipes-connectivity/connman/connman.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)meta/recipes-connectivity/connman/connman.inc +1
-1@@ -20,7 +20,7 @@ DEPENDS = "dbus glib-2.0 ppp iptables gnutls \ ${@base_contains('DISTRO_FEATURES', '3g','ofono', '', d)} \ " -INC_PR = "r11" +INC_PR = "r12" TIST = "--enable-tist" TIST_powerpc = ""
meta/recipes-connectivity/connman/connman.inc do_install_append() { · line 81
Quoted 10 lines
meta/recipes-connectivity/connman/connman.inc +4
-0@@ -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
Merged this change into OE-Core, other connman changes are pending with some clean up requests.
Thanks
Sau!