swupdate: fix new SWU package types to be compatible with Trustfence

Signed-off-by: David Escalona <david.escalona@digi.com>
This commit is contained in:
David Escalona 2023-09-13 12:53:49 +02:00
parent 904464c313
commit 600a5f1625
3 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,7 @@
type = "rdiff_image"; type = "rdiff_image";
filename = "@@SWUPDATE_RDIFF_ROOTFS_DELTA_FILE_NAME@@"; filename = "@@SWUPDATE_RDIFF_ROOTFS_DELTA_FILE_NAME@@";
device = "##DEV##"; device = "##DEV##";
sha256 = "$swupdate_get_sha256(@@SWUPDATE_RDIFF_ROOTFS_DELTA_FILE_NAME@@)";
properties: { properties: {
rdiffbase = ["/dev/rdiff_source_rootfs"]; rdiffbase = ["/dev/rdiff_source_rootfs"];
}; };

View File

@ -2,6 +2,7 @@
type = "ubivol_rdiff_image"; type = "ubivol_rdiff_image";
filename = "@@SWUPDATE_RDIFF_ROOTFS_DELTA_FILE_NAME@@"; filename = "@@SWUPDATE_RDIFF_ROOTFS_DELTA_FILE_NAME@@";
volume = "##DEV##"; volume = "##DEV##";
sha256 = "$swupdate_get_sha256(@@SWUPDATE_RDIFF_ROOTFS_DELTA_FILE_NAME@@)";
properties: { properties: {
rdiffbase = ["/dev/rdiff_source_rootfs"]; rdiffbase = ["/dev/rdiff_source_rootfs"];
rdiffnewsize = "$swupdate_get_size(@@DEPLOY_DIR_IMAGE@@/@@IMG_NAME@@-@@MACHINE@@.squashfs)"; rdiffnewsize = "$swupdate_get_size(@@DEPLOY_DIR_IMAGE@@/@@IMG_NAME@@-@@MACHINE@@.squashfs)";

View File

@ -11,6 +11,7 @@ software =
type = "archive"; type = "archive";
compressed = "zlib"; compressed = "zlib";
path = "/"; path = "/";
sha256 = "$swupdate_get_sha256(@@SWUPDATE_FILES_TARGZ_FILE_NAME@@)";
} }
); );
scripts: ( scripts: (
@ -37,6 +38,7 @@ software =
type = "archive"; type = "archive";
compressed = "zlib"; compressed = "zlib";
path = "/system/"; path = "/system/";
sha256 = "$swupdate_get_sha256(@@SWUPDATE_FILES_TARGZ_FILE_NAME@@)";
} }
); );
scripts: ( scripts: (