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>
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>
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>
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>
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>
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>
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>
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>
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>
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>