diff mbox series

[meta-swupdate-boards,2/4] update-image: Use .rootfs.ext4.gz

Message ID 20240726124225.621957-2-leon.anavi@konsulko.com
State Accepted
Headers show
Series [meta-swupdate-boards,1/4] conf/layer.conf: Add Scarthgap support | expand

Commit Message

Leon Anavi July 26, 2024, 12:42 p.m. UTC
Use .rootfs.ext4.gz instead of .ext4.gz for release Scarthgap.
Tested on Raspberry Pi 4 and Raspberry Pi 5.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 recipes-extended/images/update-image.bb                 | 2 +-
 recipes-extended/images/update-image/rpi/sw-description | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)
diff mbox series

Patch

diff --git a/recipes-extended/images/update-image.bb b/recipes-extended/images/update-image.bb
index 1636ba6..a6c9f1e 100644
--- a/recipes-extended/images/update-image.bb
+++ b/recipes-extended/images/update-image.bb
@@ -16,4 +16,4 @@  IMAGE_DEPENDS = "core-image-full-cmdline"
 # images and files that will be included in the .swu image
 SWUPDATE_IMAGES = "core-image-full-cmdline"
 
-SWUPDATE_IMAGES_FSTYPES[core-image-full-cmdline] = ".ext4.gz"
+SWUPDATE_IMAGES_FSTYPES[core-image-full-cmdline] = ".rootfs.ext4.gz"
diff --git a/recipes-extended/images/update-image/rpi/sw-description b/recipes-extended/images/update-image/rpi/sw-description
index e584344..ef64209 100644
--- a/recipes-extended/images/update-image/rpi/sw-description
+++ b/recipes-extended/images/update-image/rpi/sw-description
@@ -8,11 +8,11 @@  software =
 			copy1 : {
 				images: (
 					{
-						filename = "core-image-full-cmdline-@@MACHINE@@.ext4.gz";
+						filename = "core-image-full-cmdline-@@MACHINE@@.rootfs.ext4.gz";
 						type = "raw";
 						compressed = "zlib";
 						device = "/dev/mmcblk0p2";
-						sha256 = "$swupdate_get_sha256(core-image-full-cmdline-@@MACHINE@@.ext4.gz)";
+						sha256 = "$swupdate_get_sha256(core-image-full-cmdline-@@MACHINE@@.rootfs.ext4.gz)";
 					}
 				);
 				bootenv: (
@@ -29,11 +29,11 @@  software =
 			copy2 : {
 				images: (
 					{
-						filename = "core-image-full-cmdline-@@MACHINE@@.ext4.gz";
+						filename = "core-image-full-cmdline-@@MACHINE@@.rootfs.ext4.gz";
 						type = "raw";
 						compressed = "zlib";
 						device = "/dev/mmcblk0p3";
-						sha256 = "$swupdate_get_sha256(core-image-full-cmdline-@@MACHINE@@.ext4.gz)";
+						sha256 = "$swupdate_get_sha256(core-image-full-cmdline-@@MACHINE@@.rootfs.ext4.gz)";
 					}
 				);
 				bootenv: (