open-isns: fix QA issue

Fix the following QA issue.

ERROR: open-isns-0.97-r0 do_package: QA Issue: open-isns: Files/directories were installed but not shipped in any package:
  /usr/lib
  /usr/lib/systemd
  /usr/lib/systemd/system
  /usr/lib/systemd/system/isnsd.socket
  /usr/lib/systemd/system/isnsd.service

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Qi.Chen@windriver.com 2017-05-23 17:05:49 +08:00 committed by Armin Kuster
parent 794d74f603
commit e190a15caf

View File

@ -26,10 +26,11 @@ inherit systemd autotools-brokensep distro_features_check
REQUIRED_DISTRO_FEATURES = "systemd"
EXTRA_OECONF = " --prefix=${prefix} --enable-shared"
EXTRA_OEMAKE += "SYSTEMDDIR=${D}${systemd_unitdir}/system"
do_install_append () {
oe_runmake INCDIR=${D}${includedir}/libisns/ install_hdrs
oe_runmake LIBDIR=${D}${libdir} install_lib
}
FILES_${PN} += "${libdir}"
FILES_${PN} += "${libdir} ${systemd_unitdir}"