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:
parent
904464c313
commit
600a5f1625
|
|
@ -2,6 +2,7 @@
|
|||
type = "rdiff_image";
|
||||
filename = "@@SWUPDATE_RDIFF_ROOTFS_DELTA_FILE_NAME@@";
|
||||
device = "##DEV##";
|
||||
sha256 = "$swupdate_get_sha256(@@SWUPDATE_RDIFF_ROOTFS_DELTA_FILE_NAME@@)";
|
||||
properties: {
|
||||
rdiffbase = ["/dev/rdiff_source_rootfs"];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
type = "ubivol_rdiff_image";
|
||||
filename = "@@SWUPDATE_RDIFF_ROOTFS_DELTA_FILE_NAME@@";
|
||||
volume = "##DEV##";
|
||||
sha256 = "$swupdate_get_sha256(@@SWUPDATE_RDIFF_ROOTFS_DELTA_FILE_NAME@@)";
|
||||
properties: {
|
||||
rdiffbase = ["/dev/rdiff_source_rootfs"];
|
||||
rdiffnewsize = "$swupdate_get_size(@@DEPLOY_DIR_IMAGE@@/@@IMG_NAME@@-@@MACHINE@@.squashfs)";
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ software =
|
|||
type = "archive";
|
||||
compressed = "zlib";
|
||||
path = "/";
|
||||
sha256 = "$swupdate_get_sha256(@@SWUPDATE_FILES_TARGZ_FILE_NAME@@)";
|
||||
}
|
||||
);
|
||||
scripts: (
|
||||
|
|
@ -37,6 +38,7 @@ software =
|
|||
type = "archive";
|
||||
compressed = "zlib";
|
||||
path = "/system/";
|
||||
sha256 = "$swupdate_get_sha256(@@SWUPDATE_FILES_TARGZ_FILE_NAME@@)";
|
||||
}
|
||||
);
|
||||
scripts: (
|
||||
|
|
|
|||
Loading…
Reference in New Issue