From 81c4ab05c7652c653894d34be614d81abd968a85 Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Wed, 6 May 2020 18:46:52 +0800 Subject: [PATCH] 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 --- meta-stx/recipes-core/stx-update/cgcs-patch.inc | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.16.6