summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnuj Mittal <anuj.mittal@intel.com>2023-11-17 09:02:36 +0800
committerAnuj Mittal <anuj.mittal@intel.com>2023-11-17 09:31:10 +0800
commitfa34a6193ee47175b7e4ba1a99d5fa8ff8c45880 (patch)
tree7e5806a408a69f73ee5cbc4a8005495962ffbeeb
parent49da9b6172660854c974ec199de1da331db5ff4a (diff)
downloadmeta-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>
-rw-r--r--dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2322.0.0.0.bb1
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 \
36SRCREV = "cbc1e1019cf5dc2d03a3b722ee07fbfb9a90f2d1" 36SRCREV = "cbc1e1019cf5dc2d03a3b722ee07fbfb9a90f2d1"
37 37
38do_install:append() { 38do_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