Commit Graph

34 Commits

Author SHA1 Message Date
Naveen Saini
c374b041cc lms: use python3native and depend on python3-packaging-native
Recipe incorrectly using python from host, which causing
following failure:
|     import packaging.version
| ModuleNotFoundError: No module named 'packaging.version'

Ref:
https://git.yoctoproject.org/poky/commit/?id=bb4abe0e6468f8be3fdd6012a109ddd1db7b20a8

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2024-04-12 12:56:48 +08:00
Yogesh Tyagi
1a7d12af5a lms : upgrade 2322.0.0.0 -> 2406.0.0.0
Drop upstreamed patches

Release Notes:
https://github.com/intel/lms/releases/tag/v2406.0.0.0

Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2024-03-11 22:42:52 +08:00
Anuj Mittal
d8bfb74fbb lms: use CVE_STATUS instead of CVE_CHECK_IGNORE
CVE_CHECK_IGNORE was deprecated and shouldn't be used anymore.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2024-02-15 11:21:52 +08:00
Anuj Mittal
fa34a6193e lms: install /etc/lms directory
Make sure that we install /etc/lms otherwise starting
the service will result in errors:

| Nov 15 08:30:17 intel-corei7-64 systemd[1052]: lms.service: Failed to set up mount namespacing: /run/systemd/unit-root/etc/lms: No such file or directory
| Nov 15 08:30:17 intel-corei7-64 systemd[1052]: lms.service: Failed at step NAMESPACE spawning /usr/bin/lms: No such file or directory
| Nov 15 08:30:17 intel-corei7-64 systemd[1]: lms.service: Main process exited, code=exited, status=226/NAMESPACE
| Nov 15 08:30:17 intel-corei7-64 systemd[1]: lms.service: Failed with result 'exit-code'.
| Nov 15 08:30:17 intel-corei7-64 systemd[1]: Failed to start Local Manageability Service.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-11-17 09:31:10 +08:00
Lee Chee Yang
7b62d64d1e lms: 2245.0.0.0 -> 2322.0.0.0
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-10-30 15:42:30 +08:00
Naveen Saini
1bf139602b lms: fix installation path for udev rules
It Fixes:
ERROR: lms-2245.0.0.0-r0 do_package_qa: QA Issue: lms package is not obeying usrmerge distro feature.
/lib should be relocated to /usr.[usrmerge]

This issue is surfaced with enabling usrmerge DISTRO feature.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-06-28 10:08:08 +08:00
Anuj Mittal
73c6e7969d Revert "lms: fix build with usrmerge DISTRO feature"
This reverts commit bd2c921fc0.

This causes problems with multilib build as the udev rules are not
correctly installed.
2023-06-26 13:53:46 +08:00
Naveen Saini
bd2c921fc0 lms: fix build with usrmerge DISTRO feature
Fixes:
ERROR: lms-2245.0.0.0-r0 do_package_qa: QA Issue: lms package is not obeying usrmerge distro feature.
/lib should be relocated to /usr.[usrmerge]

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-06-16 23:40:58 +08:00
Anuj Mittal
92ed65a34f lms: fix build errors with gcc13
Fixes errors like:

 | /build/poky/build/tmp/work/x86-64-v3-poky-linux/lms/2245.0.0.0-r0/git/MEIClient/Include/MEIparser.h:11:1: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
 |    10 | #include <vector>
 |   +++ |+#include <cstdint>

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-05-29 16:00:41 +08:00
Teoh Suh Haw
fc1d35e17f lms: upgrade 2226.0.0.0 -> 2245.0.0.0
Release Notes:
https://github.com/intel/lms/releases/tag/v2245.0.0.0

Signed-off-by: Teoh Suh Haw <suh.haw.teoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-03-28 09:29:21 +08:00
Yogesh Tyagi
b83d01c612 lms : upgrade 2151.0.0.0 -> 2226.0.0.0
Release Notes:
https://github.com/intel/lms/releases/tag/v2226.0.0.0

Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-07-21 07:56:45 +08:00
Anuj Mittal
498074073f meta: rename CVE_CHECK_WHITELIST to CVE_CHECK_IGNORE
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-02-22 10:56:22 +08:00
Anuj Mittal
ad850aae9b lms: upgrade 2141.0.0.0 -> 2151.0.0.0
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-01-26 22:22:59 +08:00
Anuj Mittal
a3b2f8bb59 lms: upgrade 2127.0.0.0 -> 2141.0.0.0
Release notes:
https://github.com/intel/lms/releases/tag/v2141.0.0.0

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-24 22:34:33 +08:00
Anuj Mittal
e4d0c52cba meta: add explicit branch and protocol to SRC_URI
Add branch name explicitly to SRC_URI where it's not defined and switch
to using https protocol for Github projects.

The change was made using convert_srcuri script for OE-Core.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-03 12:35:28 +08:00
Anuj Mittal
f5729aa00c lms: add pkgconfig-native to DEPENDS
Since oe-core commit 8e26252b45b (layer.conf: Extend recipes not to
install without explict dependencies), some dependencies now need to be
explicit.

lms needs pkgconfig-native so add it to DEPENDS.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-10-12 23:05:03 +08:00
Anuj Mittal
187cfd795e lms: upgrade 2109.0.0.0 -> 2127.0.0.0
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-08-17 11:14:31 +08:00
Anuj Mittal
0584f63879 Convert to new override syntax
Use the convert-overrides.py to convert to new syntax and manually
fix some additional changes.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-07-31 17:47:03 +08:00
Alexander Usyskin
11971461e0 lms: copy wdt udev rule in install
Install LMS's wdt udev rule to select AMT watchdog device.

Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-07-06 16:09:22 +08:00
Anuj Mittal
d9dacfff3f lms: exclude CVE-2018-1000535 from cve-check
The CVE is not for Intel Local Manageability Service that this recipe
builds.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-05-11 11:20:15 +08:00
Anuj Mittal
7167fa02d1 lms: upgrade 2102.1.0.0 -> 2109.0.0.0
Release notes:
https://github.com/intel/lms/releases/tag/v2109.0.0.0

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-04-16 12:09:30 +08:00
Anuj Mittal
65935e52d2 lms: upgrade 2052.1.0.0 -> 2102.1.0.0
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-02-22 15:55:07 +08:00
Naveen Saini
23d00932bf lms: upgrade 2046.0.0.0 -> 2052.1.0.0
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-02-09 15:33:42 +08:00
Naveen Saini
6938951ecb lms: upgrade 2039.1.0.0 -> 2046.0.0.0
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-01-21 09:04:25 +08:00
Anuj Mittal
5157e6ed01 lms: upgrade 2022.0.0.0 -> 2039.1.0.0
Drop the patches that are no longer required.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-11-27 11:11:26 +08:00
Anuj Mittal
9d3400dd7e lms: add PACKAGECONFIG to select network manager
Allow users to select either ConnMan or Network Manager. Also fixes an
issue introduced because of a recent change in 2022.0.0.0 that removed
the build time check in favor of explicit options to select the right
network manager [1].

[1] 1b8fa45264

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-10-28 12:33:08 +08:00
Anuj Mittal
f7580d7276 lms: fix build
Disable the compilation of cim plugin of openwsman explicitly to avoid
looking for library that is needed for code we don't want to build.

Fixes:

| CMake Error at CMakeLists.txt:329 (FIND_LIBRARY):
|   Could not find SFCC_LIBRARIES using the following names: cmpisfcc

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-09-10 15:59:14 +08:00
Anuj Mittal
34f55b4c75 lms: inherit features_check
We're checking for REQUIRED_DISTRO_FEATURES so make sure that it
actually is used and inherit features_check. Fixes:

| lms-2022.0.0.0-r0 do_package_qa: QA Issue: lms: recipe doesn't inherit features_check [unhandled-features-check]

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-06-25 09:05:04 +08:00
Anuj Mittal
c582f125eb lms: upgrade 2011.0.0.0 -> 2022.0.0.0
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-06-22 13:59:04 +08:00
Naveen Saini
22349bb350 lms: upgrade v2003.0.0.0 -> v2011.0.0.0
For the details, please check:

https://github.com/intel/lms/releases/tag/v2011.0.0.0

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-04 18:22:52 +08:00
Alexander Usyskin
d9f0f9975d lms: upgrade 1932.0.0.0 -> 2003.0.0.0
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-02-03 11:06:25 +08:00
Khem Raj
1e5115528f lms: Do not build on musl
It depends on ace which is marked as incompatible for musl as well

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-10 12:16:16 +08:00
Alexander Usyskin
28261bb7e5 lms: upgrade 1921.0.0.0 -> 1932.0.0.0
Drop library packaging workarounds - not needed with a new sources.

Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-07 07:58:31 +08:00
Alexander Usyskin
edad2c42cd lms: add recipe for lms 1921.0.0.0
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@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-06-19 20:07:20 +08:00