summaryrefslogtreecommitdiff
path: root/meta-google
diff options
context:
space:
mode:
authorYuxiao Zhang <yuxiaozhang@google.com>2024-01-30 04:45:16 +0300
committerYuxiao Zhang <yuxiaozhang@google.com>2024-01-30 20:03:00 +0300
commit283de3fc1caf4c9738d5e121d0ca73fb0160b9f7 (patch)
tree1dfc66f8c492861575cb00826088a2448dff3dcd /meta-google
parentc749ece2826b496f037f4b900d6c5193b1aa9a72 (diff)
downloadopenbmc-283de3fc1caf4c9738d5e121d0ca73fb0160b9f7.tar.xz
meta-google: ncsid: changing mask dir
"lib" systemd directory conflicts with ncsid, this CL changes the masked service file to "etc". Change-Id: I8b1fe615ac3298db0e30c88070a1559cbc172a89 Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
Diffstat (limited to 'meta-google')
-rw-r--r--meta-google/recipes-google/ncsi/gbmc-ncsi-config.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta-google/recipes-google/ncsi/gbmc-ncsi-config.bb b/meta-google/recipes-google/ncsi/gbmc-ncsi-config.bb
index 9a2179f976..29ec5bd19e 100644
--- a/meta-google/recipes-google/ncsi/gbmc-ncsi-config.bb
+++ b/meta-google/recipes-google/ncsi/gbmc-ncsi-config.bb
@@ -165,8 +165,9 @@ do_install:append() {
install -m0755 ${WORKDIR}/gbmc-ncsi-smartnic-wa.sh ${D}${bindir}/
if [ '${GBMC_NCSI_DHCP_IMPERSONATE_HOST}' != 1 ]; then
- ln -sv /dev/null ${D}${systemd_system_unitdir}/dhcp6@.service
- ln -sv /dev/null ${D}${systemd_system_unitdir}/dhcp4@.service
+ install -d -m0755 ${D}${sysconfdir}/systemd/system/
+ ln -sv /dev/null ${D}${sysconfdir}/systemd/system/dhcp6@.service
+ ln -sv /dev/null ${D}${sysconfdir}/systemd/system/dhcp4@.service
fi
}