diff options
author | Anuj Mittal <anuj.mittal@intel.com> | 2023-11-17 09:02:36 +0800 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2023-11-17 09:31:10 +0800 |
commit | fa34a6193ee47175b7e4ba1a99d5fa8ff8c45880 (patch) | |
tree | 7e5806a408a69f73ee5cbc4a8005495962ffbeeb /dynamic-layers/openembedded-layer | |
parent | 49da9b6172660854c974ec199de1da331db5ff4a (diff) | |
download | meta-intel-fa34a6193ee47175b7e4ba1a99d5fa8ff8c45880.tar.gz |
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>
Diffstat (limited to 'dynamic-layers/openembedded-layer')
-rw-r--r-- | dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2322.0.0.0.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2322.0.0.0.bb b/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2322.0.0.0.bb index f981af75..17681482 100644 --- a/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2322.0.0.0.bb +++ b/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2322.0.0.0.bb | |||
@@ -36,6 +36,7 @@ SRC_URI = "git://github.com/intel/lms.git;branch=master;protocol=https \ | |||
36 | SRCREV = "cbc1e1019cf5dc2d03a3b722ee07fbfb9a90f2d1" | 36 | SRCREV = "cbc1e1019cf5dc2d03a3b722ee07fbfb9a90f2d1" |
37 | 37 | ||
38 | do_install:append() { | 38 | do_install:append() { |
39 | install -d ${D}${sysconfdir}/lms | ||
39 | install -d ${D}${systemd_system_unitdir} | 40 | install -d ${D}${systemd_system_unitdir} |
40 | install -m 0644 ${B}/UNS/lms.service ${D}${systemd_system_unitdir} | 41 | install -m 0644 ${B}/UNS/lms.service ${D}${systemd_system_unitdir} |
41 | install -d ${D}${sysconfdir}/udev/rules.d | 42 | install -d ${D}${sysconfdir}/udev/rules.d |