13 Commits

Author SHA1 Message Date
Jackie Huang
431a4bcf35 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
2021-08-25 09:56:13 +08:00
Jackie Huang
88d26d4ba8 patch-alarm: update for stx 5.0
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
2021-08-25 09:56:13 +08:00
Jackie Huang
e8fe442a6b cgcs-patch: update for stx 5.0
* Add dependency on DNF

* Rebased patch:
  - 0001-patch_agent-do-not-do-the-packages_iter-if-pkggrp-is.patch

* Removed the following patches since they are already in upstream:
  - 0001-Remove-use-of-rpmUtils.miscutils-from-cgcs-patch.patch
  - 0003-Cleaning-up-pylint-settings-for-cgcs-patch.patch
  - 0004-Address-python3-pylint-errors-and-warnings.patch
  - 0005-Clean-up-pylint-W1201-logging-not-lazy-in-cgcs-patch.patch
  - 0006-Migrate-patch-agent-to-use-DNF-for-swmgmt.patch

Story: 2008952
Task: 42576

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I01b1795e30036d78097915a07870bc950d13c3d0
2021-07-23 15:26:41 +08:00
Jackie Huang
81faeff279 stx-update/tsconfig: remove the recipe
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
2021-07-23 15:26:41 +08:00
Jackie Huang
73e135ce5e stx-update: uprev to stx 5.0
* 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
2021-07-23 15:26:41 +08:00
Babak Sarashki
d30908374b stx-update: set and limit checkouts to subpaths
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-09-22 20:03:27 -07:00
Jackie Huang
af41e9f28f stx-update: fix exceptions when stx rpm group do not exist
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>
2020-06-13 16:29:46 -07:00
Jackie Huang
094c4b80fa stx-update: migrate patch-agent to use dnf instead of smart
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>
2020-06-13 16:29:45 -07:00
Jackie Huang
0f963401ec cgcs-patch.inc: fix the binary name of createrepo_c
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>
2020-06-13 16:29:45 -07:00
Jackie Huang
4fb62a827a stx-update: backport a patch to remove dependency on yum
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>
2020-06-13 16:29:45 -07:00
Jackie Huang
6cdfbb6f96 patch-alarm.inc: fix incorrect script path
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-06-10 20:00:38 -07:00
Babak Sarashki
63b6601bdd meta-stx: update LICENSE and copyright info
- Change License from Apache2 to MIT.
- Remove Copyright from individual recipes
- Move License to README.md
- Add meta-stx Copyright to README.md

Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
2020-06-08 13:00:26 -07:00
Saul Wold
467e56bfdc Restructure STX Flock recipes
Create a new layer to manage the StarlingX Flock specific recipes

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2020-05-17 16:00:29 -07:00