From fa34a6193ee47175b7e4ba1a99d5fa8ff8c45880 Mon Sep 17 00:00:00 2001 From: Anuj Mittal Date: Fri, 17 Nov 2023 09:02:36 +0800 Subject: [PATCH] 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 --- .../openembedded-layer/recipes-bsp/amt/lms_2322.0.0.0.bb | 1 + 1 file changed, 1 insertion(+) 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 \ SRCREV = "cbc1e1019cf5dc2d03a3b722ee07fbfb9a90f2d1" do_install:append() { + install -d ${D}${sysconfdir}/lms install -d ${D}${systemd_system_unitdir} install -m 0644 ${B}/UNS/lms.service ${D}${systemd_system_unitdir} install -d ${D}${sysconfdir}/udev/rules.d