diff mbox series

[1/2] bitbake.conf: Add weak default value for IMAGE_ROOTFS_MAXSIZE

Message ID 20250206110615.291324-2-pascal.weisser.ext@karlstorz.com
State New
Headers show
Series This patch series has two goals. | expand

Commit Message

Weisser, Pascal Feb. 6, 2025, 11:06 a.m. UTC
This would help the recipe linter oelint-adv from meta-sca layer to add
the variable IMAGE_ROOTFS_MAXSIZE to the list of known variables.

See https://github.com/priv-kweihmann/oelint-adv/issues/695By for details.

Setting the weak default value to the empty string actually imposes no
limit on the image size per default.

Signed-off-by: Weisser, Pascal <pascal.weisser.ext@karlstorz.com>
---
 meta/conf/bitbake.conf | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 8b607088c6..0a9e27a27f 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -866,6 +866,10 @@  MACHINE_TASK_PROVIDER ?= "${DEFAULT_TASK_PROVIDER}"
 # and no effect if less than it.
 IMAGE_ROOTFS_SIZE ??= "65536"
 
+# The maximum size in Kbytes for the generated image.
+# Per default no limit is imposed.
+IMAGE_ROOTFS_MAXSIZE ??= ""
+
 # Forcefully set CACHE now so future changes to things like
 # MACHINE don't change the path to the cache
 CACHE := "${CACHE}"