[meta-intel] [PATCH 3/3] lms: add recipe for lms 1921.0.0.0

Alexander Usyskin alexander.usyskin at intel.com
Sun Jun 16 22:43:23 PDT 2019


This is a new release of Local Manageability Service.
This open-source release deprecates unsupported lms7 and lms8.

This recipe depends on ACE and MeTee library recipes.

Signed-off-by: Alexander Usyskin <alexander.usyskin at intel.com>
---
 .../amt/files/lms_drop_rpath_1921.0.0.0.diff       | 15 ++++++++
 recipes-bsp/amt/lms_1921.0.0.0.bb                  | 41 ++++++++++++++++++++++
 2 files changed, 56 insertions(+)
 create mode 100644 recipes-bsp/amt/files/lms_drop_rpath_1921.0.0.0.diff
 create mode 100644 recipes-bsp/amt/lms_1921.0.0.0.bb

diff --git a/recipes-bsp/amt/files/lms_drop_rpath_1921.0.0.0.diff b/recipes-bsp/amt/files/lms_drop_rpath_1921.0.0.0.diff
new file mode 100644
index 0000000..8224370
--- /dev/null
+++ b/recipes-bsp/amt/files/lms_drop_rpath_1921.0.0.0.diff
@@ -0,0 +1,15 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 979ce1b..9da880e 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -106,10 +106,6 @@ install (DIRECTORY Docs/Licenses
+   FILES_MATCHING PATTERN "LICENSE.*"
+ )
+ 
+-list (APPEND CMAKE_INSTALL_RPATH "${PROJECT_BINARY_DIR}/UNS/GMS_COMMON")
+-list (APPEND CMAKE_INSTALL_RPATH "${PROJECT_BINARY_DIR}/WsmanClient")
+-list (APPEND CMAKE_INSTALL_RPATH "${PROJECT_BINARY_DIR}/UNS/StatusEventHandler")
+-
+ if (BUILD_TESTS)
+   include (gtest.cmake)
+ endif (BUILD_TESTS)
diff --git a/recipes-bsp/amt/lms_1921.0.0.0.bb b/recipes-bsp/amt/lms_1921.0.0.0.bb
new file mode 100644
index 0000000..5ce6338
--- /dev/null
+++ b/recipes-bsp/amt/lms_1921.0.0.0.bb
@@ -0,0 +1,41 @@
+SUMMARY = "Intel(R) Local Managability Service"
+DESCRIPTION = "Intel Local Manageability Service allows applications \
+to access the Intel Active Management Technology (AMT) firmware via \
+the Intel Management Engine Interface (MEI)."
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=2ee41112a44fe7014dce33e26468ba93"
+
+COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
+
+inherit cmake systemd pythonnative
+
+DEPENDS = "metee ace xerces-c libnl libxml2 glib-2.0 glib-2.0-native connman"
+
+PREFERRED_VERSION_metee = "2.1.0"
+
+REQUIRED_DISTRO_FEATURES= "systemd"
+
+FILES_${PN} += "${datadir}/dbus-1/system-services/*.service"
+
+FILES_${PN} += "${libdir}/*.so"
+FILES_SOLIBSDEV = ""
+INSANE_SKIP_${PN} += "dev-so"
+
+S = "${WORKDIR}/lms-${PV}"
+
+SYSTEMD_SERVICE_${PN} = "lms.service"
+
+SRC_URI = "https://github.com/intel/lms/archive/v${PV}.tar.gz"
+SRC_URI[sha256sum] = "6eb4b3160ff31ffbfa7f184427d05399534dbea6a89831f8059d3aa10842f1e3"
+
+SRC_URI_append = " file://lms_drop_rpath_${PV}.diff;patch=1"
+
+EXTRA_OECMAKE = " -DCMAKE_INSTALL_PREFIX=${prefix} \
+                "
+do_install_append() {
+    install -d ${D}${systemd_system_unitdir}
+    install -m 0644 ${B}/UNS/lms.service ${D}${systemd_system_unitdir}
+}
+
+RDEPENDS_${PN} += "ace"
-- 
2.7.4



More information about the meta-intel mailing list