<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><br><br>Andrew Jeffery <<a target="_blank" href="mailto:andrew@aj.id.au">andrew@aj.id.au</a>> wrote:<br>>Subject: [PATCH v3 5/6] openbmc: Lift mkfs opts to variables and use<br>>OVERRIDES capability<br>><br>>Moves the ext4-specific mkfs options out to configuration variables.<br>>OVERLAY_MKFS_OPTS can be overridden using the usual bitbake OVERRIDES<br>>mechanism, where the override postfix is 'rwfs-${OVERLAY_BASETYPE}',<br>>e.g. rwfs-ext4.<br>><br>>Signed-off-by: Andrew Jeffery <<a target="_blank" href="mailto:andrew@aj.id.au">andrew@aj.id.au</a>><br>>---<br>> .../classes/obmc-phosphor-image_types_uboot.bbclass | 12<br>>+++++++++++-<br>> 1 file changed, 11 insertions(+), 1 deletion(-)<br>><br>>diff --git<br>>a/meta-phosphor/classes/obmc-phosphor-image_types_uboot.bbclass<br>>b/meta-phosphor/classes/obmc-phosphor-image_types_uboot.bbclass<br>>index 96193a3..f75cdc1 100644<br>>--- a/meta-phosphor/classes/obmc-phosphor-image_types_uboot.bbclass<br>>+++ b/meta-phosphor/classes/obmc-phosphor-image_types_uboot.bbclass<br>>@@ -23,6 +23,12 @@ FLASH_ROFS_OFFSET ?= "4864"<br>> FLASH_RWFS_OFFSET ?= "28672"<br>> RWFS_SIZE ?= "4096"<br>> <br>>+# Avoid setting 'ext4' or 'jffs2' in OVERRIDES as this breaks the<br>>build. Prefix<br>>+# with 'rwfs-' to avoid option collisions.<br>>+DISTROOVERRIDES .= ":rwfs-${OVERLAY_BASETYPE}"<br><br>or more simply comment the reason it breaks:<br><br># OVERRIDES of just the file system type are reserved for <br># the primary image type. Prefix with rwfs- for the overlay.<br><br>otherwise,<br>Acked-by: Milton Miller <<a target="_blank" href="mailto:miltonm@us.ibm.com">miltonm@us.ibm.com</a>><br><br>milton<br></font><BR>