connman: Fix PPTP VPN plugin QA issue
This error was seen when building ConnMan. Fixed by not building ConnMan pptp plugin with module versioning info. ERROR: QA Issue: non -dev/-dbg/-nativesdk package contains symlink .so: connman-plugin-vpn-pptp path '/work/core2-32-oe-linux/connman/1.24+gitAUTOINC+42779cd63c-r20/packages-split/connman-plugin-vpn-pptp/usr/lib/connman/scripts/libppp-plugin.so' [dev-so] ERROR: QA run found fatal errors. Please consider fixing them. ERROR: Function failed: do_package_qa (From OE-Core rev: d2328d6aa52fd4f0b47ae3292ae6ae07301bf9d0) Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
56bfda20f4
commit
6ac058cffe
|
@ -0,0 +1,32 @@
|
|||
Upstream-Status: Submitted
|
||||
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
|
||||
|
||||
From dd8044ed6ccb468558bab037257e27a409903d86 Mon Sep 17 00:00:00 2001
|
||||
From: Jukka Rissanen <jukka.rissanen@linux.intel.com>
|
||||
Date: Mon, 21 Jul 2014 15:01:45 +0300
|
||||
Subject: [PATCH] scripts: Build libppp-plugin as a plain .so file
|
||||
|
||||
There is no need to have module versioning for libppp-plugin.so
|
||||
file so build the plugin same way as other vpn plugins.
|
||||
|
||||
This issue was seen when building ConnMan for Yocto.
|
||||
---
|
||||
Makefile.plugins | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile.plugins b/Makefile.plugins
|
||||
index 294cae0..8139967 100644
|
||||
--- a/Makefile.plugins
|
||||
+++ b/Makefile.plugins
|
||||
@@ -4,7 +4,7 @@ plugin_cflags = -fvisibility=hidden -I$(srcdir)/gdbus \
|
||||
plugin_ldflags = -no-undefined -module -avoid-version
|
||||
|
||||
script_cflags = -fvisibility=hidden -I$(srcdir)/gdbus \
|
||||
- @DBUS_CFLAGS@
|
||||
+ @DBUS_CFLAGS@ $(plugin_ldflags) -shared
|
||||
|
||||
if LOOPBACK
|
||||
builtin_modules += loopback
|
||||
--
|
||||
1.8.3.1
|
||||
|
|
@ -4,6 +4,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/network/${BPN}/${BP}.tar.xz \
|
|||
file://0001-plugin.h-Change-visibility-to-default-for-debug-symb.patch \
|
||||
file://add_xuser_dbus_permission.patch \
|
||||
file://connman \
|
||||
file://build-libppp-plugin-without-versioning-info.patch \
|
||||
"
|
||||
SRC_URI[md5sum] = "dd6e1b4d9b9a28d127edb9f9b58bdec1"
|
||||
SRC_URI[sha256sum] = "551df7a5f0c6e4d69523dd2b3aa2c54525b323457d5135f64816215bad3dc24c"
|
||||
|
|
Loading…
Reference in New Issue