stx-puppet: fix the path for systemctl

It's hardcoded with /usr/bin/systemctl but we install
as /bin/systemctl.

fix #178

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
This commit is contained in:
Jackie Huang 2020-03-10 23:52:19 +08:00
parent 1f256b5cda
commit 869c275603

View File

@ -160,6 +160,8 @@ do_install() {
CONFIGDIR=${D}/${sysconfdir}/puppet/ \
MODULEDIR=${D}/${datadir}/puppet/modules -f Makefile install
# fix the path for systemctl
sed -i -e 's|${bindir}/systemctl|${base_bindir}/systemctl|' ${D}/${datadir}/puppet/modules/platform/manifests/*.pp
}
FILES_puppet-sysinv += " \