gateone: fix unpackaged files
authorMartin Jansa <Martin.Jansa@gmail.com>
Wed, 5 Dec 2012 20:38:56 +0000 (21:38 +0100)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:26:00 +0000 (08:26 -0800)
* fixes:
gateone-1.1: gateone: Files/directories were installed but not shipped
  /usr
  /usr/lib
  /usr/lib/python2.7
  /usr/lib/python2.7/site-packages
  /usr/lib/python2.7/site-packages/gateone-1.1-py2.7.egg-info

(From meta-openembedded rev: 5f131ed5d87b1b59746b6fdeb5f3168757fc0e12)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/recipes-connectivity/gateone/gateone_git.bb

index f6aa377..f0f727a 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "HTML5 (plugin-free) web-based terminal emulator and SSH client"
 LICENSE = "AGPLv3"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ee5b168fc7de89a0cadc49e27830aa2c"
 
-PR = "r8"
+PR = "r9"
 
 PV = "1.1"
 SRCREV = "bb74e1095adb66b04b51ed6ff10ae0aa96afdd46"
@@ -13,7 +13,7 @@ SRC_URI = "git://github.com/liftoff/GateOne.git \
 
 S = "${WORKDIR}/git"
 
-inherit distutils allarch
+inherit distutils allarch python-dir
 
 export prefix = "${localstatedir}/lib"
 
@@ -26,7 +26,7 @@ do_install_append() {
        install -m 0644 ${WORKDIR}/server.conf ${D}/var/lib/gateone/server.conf
 }
 
-FILES_${PN} = "${localstatedir}/lib ${localstatedir}/log ${base_libdir} ${sysconfdir}"
+FILES_${PN} = "${localstatedir}/lib ${localstatedir}/log ${base_libdir} ${sysconfdir} ${PYTHON_SITEPACKAGES_DIR}"
 RDEPENDS_${PN} = "file \
                   mime-support \
                   openssh-ssh \