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:
parent
1f256b5cda
commit
869c275603
@ -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 += " \
|
||||
|
Loading…
x
Reference in New Issue
Block a user