diff --git a/meta-digi-dey/recipes-digi/swu-images/files/ccimx6ul/sw-description-images_template b/meta-digi-dey/recipes-digi/swu-images/files/ccimx6ul/sw-description-images_template new file mode 100644 index 000000000..0cc414a85 --- /dev/null +++ b/meta-digi-dey/recipes-digi/swu-images/files/ccimx6ul/sw-description-images_template @@ -0,0 +1,70 @@ +software = +{ + version = "@@DEY_FIRMWARE_VERSION@@"; + description = "@@SWUPDATE_DESCRIPTION@@"; + + @@SWUPDATE_STORAGE_TYPE@@ = { + primary: { + images: ( + ##IMAGES_PRIMARY## + ); + scripts: ( + { + filename = "@@SWUPDATE_SCRIPT_NAME@@"; + type = "shellscript"; + } + ); + uboot: ( + { + name = "upgrade_available"; + value = "1"; + }, + { + name = "rootfstype" + value = "@@SWUPDATE_ROOTFS_TYPE@@" + } + ); + } + secondary: { + images: ( + ##IMAGES_SECONDARY## + ); + scripts: ( + { + filename = "@@SWUPDATE_SCRIPT_NAME@@"; + type = "shellscript"; + } + ); + uboot: ( + { + name = "upgrade_available"; + value = "1"; + }, + { + name = "rootfstype" + value = "@@SWUPDATE_ROOTFS_TYPE@@" + } + ); + } + single: { + images: ( + ##IMAGES_SINGLE## + ); + scripts: ( + { + filename = "@@SWUPDATE_SCRIPT_NAME@@"; + type = "shellscript"; + } + ); + uboot: ( + { + name = "rootfstype" + value = "@@SWUPDATE_ROOTFS_TYPE@@" + } + ); + } + platform = { + ref = "#./single"; + } + }; +} diff --git a/meta-digi-dey/recipes-digi/swu-images/files/sw-description-images_template b/meta-digi-dey/recipes-digi/swu-images/files/sw-description-images_template index 0cc414a85..903072d49 100644 --- a/meta-digi-dey/recipes-digi/swu-images/files/sw-description-images_template +++ b/meta-digi-dey/recipes-digi/swu-images/files/sw-description-images_template @@ -18,10 +18,6 @@ software = { name = "upgrade_available"; value = "1"; - }, - { - name = "rootfstype" - value = "@@SWUPDATE_ROOTFS_TYPE@@" } ); } @@ -39,10 +35,6 @@ software = { name = "upgrade_available"; value = "1"; - }, - { - name = "rootfstype" - value = "@@SWUPDATE_ROOTFS_TYPE@@" } ); } @@ -56,12 +48,6 @@ software = type = "shellscript"; } ); - uboot: ( - { - name = "rootfstype" - value = "@@SWUPDATE_ROOTFS_TYPE@@" - } - ); } platform = { ref = "#./single";