meta-digi/meta-digi-dey/recipes-digi/swu-images
David Escalona e65be961cd meta-digi-dey: swupdate: reorganize 'swupdate' custom classes and extensions
We expect new types of SWU update packages to be created in the future. To avoid splitting
all the code in different classes based on the update type, create the generic class
'dey-swupdate' to hold all the custom code and the 'dey-swupdate-common' class to hold all
the required variables. This basically renames the old 'swupdate-files' and 'swupdate-files-common'
classes.

While on it, reorganize the 'swupdate-images' recipe to move variable declarations and
functionallity to the correct place:
  - Move all variable declarations to 'swupdate-digi-common' class and organize them in
    functional groups.
  - Improve the way files are included in the 'SWUPDATE_IMAGES' by using the update type
    variables.
  - Move the update script copy to the 'do_swuimage' prepend function. Until now, the copy
    process was executed in the 'fill_description' method, which should only touch the
    'sw-description' file.
  - Rename some variables to use 'SWUPDATE' prefix.
  - Minor cosmetic changes.

https://onedigi.atlassian.net/browse/DEL-8624

Signed-off-by: David Escalona <david.escalona@digi.com>
2023-08-14 10:36:37 +02:00
..
files meta-digi-dey: swupdate: reorganize 'swupdate' custom classes and extensions 2023-08-14 10:36:37 +02:00
core-image-base-swu.bb swu-images: add include file to reuse in swu update package recipes 2017-07-05 13:43:28 +02:00
dey-image-aws-swu.bb swu-images: new swu update package including Amazon Web Services 2017-07-05 13:43:28 +02:00
dey-image-crank-swu.bb crank: add new crank image 2022-08-26 13:34:59 +02:00
dey-image-qt-swu.bb swu-images: add include file to reuse in swu update package recipes 2017-07-05 13:43:28 +02:00
swu.inc meta-digi-dey: swupdate: reorganize 'swupdate' custom classes and extensions 2023-08-14 10:36:37 +02:00