From: Trevor Woerner Date: Tue, 21 Feb 2023 20:44:43 +0000 (-0500) Subject: build-appliance-image: QB_MEM: allow user config X-Git-Tag: 2023-04-mickledore~435 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f8c20ab6750bd900b28e6468493cbd010144050;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git build-appliance-image: QB_MEM: allow user config Allow the user to specify a QB_MEM value of their choosing, otherwise set it to a default value. Signed-off-by: Trevor Woerner Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/images/build-appliance-image_15.0.0.bb b/meta/recipes-core/images/build-appliance-image_15.0.0.bb index 6e659229508..766b497bd1b 100644 --- a/meta/recipes-core/images/build-appliance-image_15.0.0.bb +++ b/meta/recipes-core/images/build-appliance-image_15.0.0.bb @@ -11,7 +11,7 @@ IMAGE_INSTALL = "packagegroup-core-boot packagegroup-core-ssh-openssh packagegro IMAGE_FEATURES += "x11-base package-management splash" -QB_MEM = '${@bb.utils.contains("DISTRO_FEATURES", "opengl", "-m 512", "-m 256", d)}' +QB_MEM ?= '${@bb.utils.contains("DISTRO_FEATURES", "opengl", "-m 512", "-m 256", d)}' # Ensure there's enough space to do a core-image-sato build, with rm_work enabled IMAGE_ROOTFS_EXTRA_SPACE = "41943040"