diff options
author | Yuxiao Zhang <yuxiaozhang@google.com> | 2024-01-30 04:45:16 +0300 |
---|---|---|
committer | Yuxiao Zhang <yuxiaozhang@google.com> | 2024-01-30 20:03:00 +0300 |
commit | 283de3fc1caf4c9738d5e121d0ca73fb0160b9f7 (patch) | |
tree | 1dfc66f8c492861575cb00826088a2448dff3dcd /meta-google/recipes-google | |
parent | c749ece2826b496f037f4b900d6c5193b1aa9a72 (diff) | |
download | openbmc-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/recipes-google')
-rw-r--r-- | meta-google/recipes-google/ncsi/gbmc-ncsi-config.bb | 5 |
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 } |