swupdate: remove sw-description now provided by meta-dimonoff common images
authorHugo Villeneuve <hugo@hugovil.com>
Sun, 16 Nov 2025 18:59:10 +0000 (13:59 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Wed, 19 Nov 2025 01:21:38 +0000 (20:21 -0500)
Signed-off-by: Hugo Villeneuve <hugo@hugovil.com>
recipes-core/images/include/update/sw-description [deleted file]

diff --git a/recipes-core/images/include/update/sw-description b/recipes-core/images/include/update/sw-description
deleted file mode 100644 (file)
index 647f14b..0000000
+++ /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@@";
-                                       }
-                               );
-                       };
-               };
-       };
-}