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
Add dependency on python-daemon which is required by
patch_alarm_manager.py
Story: 2008952
Task: 42576
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ic3ab34402138d0d94c0930a660c6ba219dab1b91
tsconfig.bb has been move to stx-config, so remove
the recipe in stx-update.
Story: 2008952
Task: 42576
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ifd75cb9c31829ef7b4667b6413e60455eab8dba0
* update the branch and srcrev for stx 5.0
* update the PV with adding git${SRCPV}
* correct the path of S
Story: 2008952
Task: 42576
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: If5f5c8ffb595784a59fe92c7a66655de27ba3fd4
There is not any stx rpm group in the repo for stx patches for now,
e.g. updates-controller-worker
So add a patch to avoid expections when the pkggrp is None, and change
the error to warning.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
smart is not availble in yocto any more and is replaced by dnf, which is
the same situation in the later stx release on centos 8, so backport
seceral patches from later stx release to migrate patch-agent to use dnf
instead of smart.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
fix the binary name of createrepo_c in init script sw-patch-controller
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
rpmUtils.miscutils.stringToVersion is provided by yum, which is
not availble in yocto and is replaced by dnf, and it's the same
situation in the later stx release on centos 8, so backport
a patch from later stx release to remove the dependency on yum.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>