summaryrefslogtreecommitdiff
path: root/meta-phosphor/conf
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2023-03-24 18:38:57 +0300
committerPatrick Williams <patrick@stwcx.xyz>2023-03-27 18:00:35 +0300
commit9c780567682098adf1f4c261e1487cc97ee8fd41 (patch)
treefb7834ff99376ee67a8af1e901d156d9d6b3781a /meta-phosphor/conf
parent80dccc8b52ad1165785493a530fea64730d5f24f (diff)
downloadopenbmc-9c780567682098adf1f4c261e1487cc97ee8fd41.tar.xz
meta-phosphor: static-norootfs: use xz for small flash images
The 32MB flash machines typically do not have enough space to hold a zstd compressed rootfs, so default them to use xz. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I6f24d771e41853c13ec55c9a35bc5dff3f523cb2
Diffstat (limited to 'meta-phosphor/conf')
-rw-r--r--meta-phosphor/conf/machine/include/image-type/static-norootfs.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-phosphor/conf/machine/include/image-type/static-norootfs.inc b/meta-phosphor/conf/machine/include/image-type/static-norootfs.inc
index 02574daecd..a966c94bba 100644
--- a/meta-phosphor/conf/machine/include/image-type/static-norootfs.inc
+++ b/meta-phosphor/conf/machine/include/image-type/static-norootfs.inc
@@ -1,4 +1,5 @@
INITRAMFS_CTYPE="zst"
+INITRAMFS_CTYPE:flash-32768="xz"
IMAGE_FSTYPES += "cpio.${INITRAMFS_CTYPE}.fitImage mtd-static-norootfs"