Message ID | 20230414091348.676809-3-felix.moessbauer@siemens.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | [isar-cip-core,1/3] make name, version and hw-compat available via bb | expand |
On 14.04.23 11:13, Felix Moessbauer wrote: > The squashfs itself is already compressed in the default configuration. > By that, an additional compression of the artifact put into the .swu > file is not required. By disabling this compression, less temporary > space is required when flashing the image onto the target and also the > overhead of the decompression is avoided. > > Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com> > --- > kas/opt/swupdate.yml | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/kas/opt/swupdate.yml b/kas/opt/swupdate.yml > index 236b3c4..2899d6c 100644 > --- a/kas/opt/swupdate.yml > +++ b/kas/opt/swupdate.yml > @@ -21,6 +21,8 @@ local_conf_header: > wic-swu: | > IMAGE_TYPEDEP:wic += "squashfs" > IMAGE_FSTYPES += "swu" > + # squashfs is already compressed > + SWU_COMPRESSION_TYPE = "" > WKS_FILE ?= "${MACHINE}-${SWUPDATE_BOOTLOADER}.wks.in" > INITRAMFS_INSTALL:append = " initramfs-squashfs-hook" > ABROOTFS_PART_UUID_A ?= "fedcba98-7654-3210-cafe-5e0710000001" Thanks, all 3 applied to next - while fixing up a trailing whitespace in patch 2. Jan
diff --git a/kas/opt/swupdate.yml b/kas/opt/swupdate.yml index 236b3c4..2899d6c 100644 --- a/kas/opt/swupdate.yml +++ b/kas/opt/swupdate.yml @@ -21,6 +21,8 @@ local_conf_header: wic-swu: | IMAGE_TYPEDEP:wic += "squashfs" IMAGE_FSTYPES += "swu" + # squashfs is already compressed + SWU_COMPRESSION_TYPE = "" WKS_FILE ?= "${MACHINE}-${SWUPDATE_BOOTLOADER}.wks.in" INITRAMFS_INSTALL:append = " initramfs-squashfs-hook" ABROOTFS_PART_UUID_A ?= "fedcba98-7654-3210-cafe-5e0710000001"
The squashfs itself is already compressed in the default configuration. By that, an additional compression of the artifact put into the .swu file is not required. By disabling this compression, less temporary space is required when flashing the image onto the target and also the overhead of the decompression is avoided. Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com> --- kas/opt/swupdate.yml | 2 ++ 1 file changed, 2 insertions(+)