cgcs-patch: fix the path of dnf

Fix the hardcoded path of dnf in patch_agent.py
to avoid cgcs-patch service failure.

Story: 2008952
Task: 42576

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I6f6e5e42ca435b33234a8a14f88152b1949e1ae7
This commit is contained in:
Jackie Huang 2021-07-29 10:29:44 +08:00
parent 88d26d4ba8
commit 431a4bcf35
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ do_install_append () {
install -m 500 upgrade-start-pkg-extract ${D}/${sbindir}/upgrade-start-pkg-extract
sed -i -e 's/createrepo/createrepo_c/' ${D}/${sysconfdir}/init.d/sw-patch-controller
sed -i -e 's|${base_bindir}/dnf|${bindir}/dnf|' ${D}/${libdir}/python2.7/site-packages/cgcs_patch/patch_agent.py
}
FILES_${PN} = " \