stx-update: fix exceptions when stx rpm group do not exist 92/3692/1
authorJackie Huang <jackie.huang@windriver.com>
Wed, 13 May 2020 14:15:16 +0000 (22:15 +0800)
committerJackie Huang <jackie.huang@windriver.com>
Wed, 13 May 2020 23:53:24 +0000 (07:53 +0800)
commit6c53643f1ce0ef8dc79783e2c4640f3d3a802d9f
treebcb324ce814176002dacc5d35b941a342db622da
parentcdc86b7fbdbccb60774108b484491c9d190709dc
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.

Issue-ID: INF-103
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I6c590e84f34c35ac0ed441baeb77821e5e447f68
meta-stx/recipes-core/stx-update/files/0007-patch_agent-do-not-do-the-packages_iter-if-pkggrp-is.patch [new file with mode: 0644]
meta-stx/recipes-core/stx-update/stx-update.bb