From 20c7d29367bdc2921c716b9716e90fa10341d7a0 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Sun, 16 Nov 2025 13:59:10 -0500 Subject: [PATCH] swupdate: remove sw-description now provided by meta-dimonoff common images Signed-off-by: Hugo Villeneuve --- .../images/include/update/sw-description | 83 ------------------- 1 file changed, 83 deletions(-) delete mode 100644 recipes-core/images/include/update/sw-description diff --git a/recipes-core/images/include/update/sw-description b/recipes-core/images/include/update/sw-description deleted file mode 100644 index 647f14b..0000000 --- a/recipes-core/images/include/update/sw-description +++ /dev/null @@ -1,83 +0,0 @@ -software = { - version = "@@DISTRO_VERSION@@"; - description = "Firmware update description for @@MACHINE@@"; - - @@MACHINE@@ = { - hardware-compatibility: [ "revA" ]; - stable: { - bootenv-common: ( - { - name = "bootcount"; - value = "0"; - }, - { - name = "upgrade_available"; - value = "1"; - }, - ); - - rootfsA: { - images: ( - { - filename = "@@IMAGE_DEPENDS@@-@@MACHINE@@@@SWUPDATE_IMAGES_FSTYPES[@@IMAGE_DEPENDS@@]@@"; - type = "archive"; - compressed = "zlib"; - preserve-attributes = true; - sha256 = "$swupdate_get_sha256(@@IMAGE_DEPENDS@@-@@MACHINE@@@@SWUPDATE_IMAGES_FSTYPES[@@IMAGE_DEPENDS@@]@@)"; - path = "/"; /* Destination path when decompressing. */ - filesystem = "ext4"; - device = "@@ROOT_PARENT_DEV@@@@ROOT_PART_PREFIX@@@@ROOT_PART_A_ID@@"; - } - ); - scripts: ( - { - filename = "swupdate-ab.sh"; - type = "shellscript"; - data = "@@ROOT_PART_PREFIX@@@@ROOT_PART_A_ID@@"; /* Destination partition ID */ - sha256 = "$swupdate_get_sha256(swupdate-ab.sh)"; - } - ); - bootenv: ( - { - ref = "#./../bootenv-common"; - }, - { - name = "@@UBOOT_PART_VAR@@"; - value = "@@ROOT_PART_A_ID@@"; - } - ); - }; - rootfsB: { - images: ( - { - filename = "@@IMAGE_DEPENDS@@-@@MACHINE@@@@SWUPDATE_IMAGES_FSTYPES[@@IMAGE_DEPENDS@@]@@"; - type = "archive"; - compressed = "zlib"; - preserve-attributes = true; - sha256 = "$swupdate_get_sha256(@@IMAGE_DEPENDS@@-@@MACHINE@@@@SWUPDATE_IMAGES_FSTYPES[@@IMAGE_DEPENDS@@]@@)"; - path = "/"; /* Destination path when decompressing. */ - filesystem = "ext4"; - device = "@@ROOT_PARENT_DEV@@@@ROOT_PART_PREFIX@@@@ROOT_PART_B_ID@@"; - } - ); - scripts: ( - { - filename = "swupdate-ab.sh"; - type = "shellscript"; - data = "@@ROOT_PART_PREFIX@@@@ROOT_PART_B_ID@@"; /* Destination partition ID */ - sha256 = "$swupdate_get_sha256(swupdate-ab.sh)"; - } - ); - bootenv: ( - { - ref = "#./../bootenv-common"; - }, - { - name = "@@UBOOT_PART_VAR@@"; - value = "@@ROOT_PART_B_ID@@"; - } - ); - }; - }; - }; -} -- 2.20.1