mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
a3f1a33818
When enable multilib build, there is a QA Issue error:
ERROR: networkmanager-openvpn-1.2.8-r0 do_package: QA Issue: networkmanager-openvpn: Files/directories were installed but not shipped in any package:
/usr/lib
/usr/lib/NetworkManager
/usr/lib/NetworkManager/VPN
/usr/lib/NetworkManager/VPN/nm-openvpn-service.name
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
networkmanager-openvpn: 4 installed and not shipped files. [installed-vs-shipped]
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
(cherry picked from commit 028f302074)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
40 lines
1.1 KiB
BlitzBasic
40 lines
1.1 KiB
BlitzBasic
SUMMARY = "NetworkManager-openvpn-plugin"
|
|
SECTION = "net/misc"
|
|
|
|
LICENSE = "GPLv2+"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=100d5a599bead70ddcd70dcd73f2e29c"
|
|
|
|
DEPENDS = "dbus dbus-glib networkmanager openvpn intltool-native glib-2.0-native"
|
|
|
|
inherit gnomebase useradd gettext systemd
|
|
|
|
SRC_URI = "${GNOME_MIRROR}/NetworkManager-openvpn/${@gnome_verdir("${PV}")}/NetworkManager-openvpn-${PV}.tar.xz"
|
|
SRC_URI[md5sum] = "9f325be386aa906ff9b0b7c0bdf2a59a"
|
|
SRC_URI[sha256sum] = "3e0b4007f248d96df4b8eb5d0f937536044af7053debbbf525e67c9bc5d30654"
|
|
|
|
S = "${WORKDIR}/NetworkManager-openvpn-${PV}"
|
|
|
|
PACKAGECONFIG[gnome] = "--with-gnome,--without-gnome"
|
|
|
|
do_install_append () {
|
|
rm -rf ${D}${libdir}/NetworkManager/*.la
|
|
}
|
|
|
|
# Create user and group nm-openvpn that are needed since version 1.0.6
|
|
USERADD_PACKAGES = "${PN}"
|
|
USERADD_PARAM_${PN} = "--system nm-openvpn"
|
|
|
|
FILES_${PN} += " \
|
|
${libdir}/NetworkManager/*.so \
|
|
${nonarch_libdir}/NetworkManager/VPN/nm-openvpn-service.name \
|
|
"
|
|
|
|
FILES_${PN}-staticdev += " \
|
|
${libdir}/NetworkManager/*.a \
|
|
"
|
|
|
|
RDEPENDS_${PN} = " \
|
|
networkmanager \
|
|
openvpn \
|
|
"
|