From: Jackie Huang Date: Wed, 6 May 2020 10:46:52 +0000 (+0800) Subject: cgcs-patch.inc: fix the binary name of createrepo_c X-Git-Tag: bronze-rc0~29 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=81c4ab05c7652c653894d34be614d81abd968a85;p=pti%2Frtp.git cgcs-patch.inc: fix the binary name of createrepo_c fix the binary name of createrepo_c in init script sw-patch-controller Issue-ID: INF-84 Signed-off-by: Jackie Huang Change-Id: I23a1d3fe9a5124313de8023afa394722a4467de3 --- diff --git a/meta-stx/recipes-core/stx-update/cgcs-patch.inc b/meta-stx/recipes-core/stx-update/cgcs-patch.inc index 513ad3d..60bbc0e 100644 --- a/meta-stx/recipes-core/stx-update/cgcs-patch.inc +++ b/meta-stx/recipes-core/stx-update/cgcs-patch.inc @@ -89,6 +89,9 @@ do_install_append () { install -m 500 sw-patch-agent-restart ${D}/${sbindir}/sw-patch-agent-restart install -m 500 sw-patch-init.sh ${D}/${sysconfdir}/init.d/sw-patch install -m 500 sw-patch-controller-init.sh ${D}/${sysconfdir}/init.d/sw-patch-controller + + sed -i -e 's/createrepo/createrepo_c/' ${D}/${sysconfdir}/init.d/sw-patch-controller + install -m 555 patch_check_goenabled.sh ${D}/${sysconfdir}/goenabled.d/patch_check_goenabled.sh install -m 444 patching.logrotate ${D}/${sysconfdir}/logrotate.d/patching