cip-dev.lists.cip-project.org archive mirror
 help / color / mirror / Atom feed
* [cip-dev][isar-cip-core][PATCH v2 0/4] SWUpdate abort on installing indentical image
@ 2022-12-09 14:58 Quirin Gylstorff
  2022-12-09 14:58 ` [cip-dev][isar-cip-core][PATCH v2 1/4] core/images/swupdate.inc: Move image_uuid to swupdate.inc Quirin Gylstorff
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Quirin Gylstorff @ 2022-12-09 14:58 UTC (permalink / raw)
  To: cip-dev, felix.moessbauer, jan.kiszka

From: Quirin Gylstorff <quirin.gylstorff@siemens.com>

Use a pre/post function of the SWUpdate handler round robin to check if the given uuid
is already in the current root file system and abort if the uuid matches.

This fixes https://gitlab.com/cip-project/cip-core/isar-cip-core/-/issues/43

Changes in V2:
 - remove RFC
 - Use upstream version instead of patch
 - add comment for variable expension

Quirin Gylstorff (4):
  core/images/swupdate.inc: Move image_uuid to swupdate.inc
  swupdate-handler-roundrobin: Increase revision for configfilecheck
  image_uuid: read target_image_uuid
  recipe-core/images: Integrate configfilecheck into sw-description

 classes/image_uuid.bbclass                    | 19 +++++++++++++++++++
 kas/opt/ebg-swu.yml                           |  2 +-
 recipes-core/images/files/sw-description.tmpl |  1 +
 recipes-core/images/image-uuid.inc            | 12 ------------
 recipes-core/images/swupdate.inc              |  6 +++++-
 .../swupdate-handler-roundrobin_0.1.bb        |  2 +-
 6 files changed, 27 insertions(+), 15 deletions(-)
 delete mode 100644 recipes-core/images/image-uuid.inc

-- 
2.35.1



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2022-12-13 16:08 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-09 14:58 [cip-dev][isar-cip-core][PATCH v2 0/4] SWUpdate abort on installing indentical image Quirin Gylstorff
2022-12-09 14:58 ` [cip-dev][isar-cip-core][PATCH v2 1/4] core/images/swupdate.inc: Move image_uuid to swupdate.inc Quirin Gylstorff
2022-12-09 14:58 ` [cip-dev][isar-cip-core][PATCH v2 2/4] swupdate-handler-roundrobin: Increase revision for configfilecheck Quirin Gylstorff
2022-12-13 12:49   ` Jan Kiszka
2022-12-13 13:01     ` Jan Kiszka
2022-12-09 14:58 ` [cip-dev][isar-cip-core][PATCH v2 3/4] image_uuid: read target_image_uuid Quirin Gylstorff
2022-12-09 14:58 ` [cip-dev][isar-cip-core][PATCH v2 4/4] recipe-core/images: Integrate configfilecheck into sw-description Quirin Gylstorff
2022-12-13 13:01 ` [cip-dev][isar-cip-core][PATCH v2 0/4] SWUpdate abort on installing indentical image Jan Kiszka
2022-12-13 15:18   ` Regarding commit eb69c07eca22ffd8621d9de9378e4b3ce7965190 Biju Das
2022-12-13 15:34     ` Biju Das
2022-12-13 15:51       ` Pavel Machek
2022-12-13 16:06       ` Pavel Machek
2022-12-13 16:08         ` Biju Das

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).