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 <[email protected]>
---
 meta/conf/bitbake.conf | 4 ++++
 1 file changed, 4 insertions(+)

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}"
-- 
2.48.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#210931): 
https://lists.openembedded.org/g/openembedded-core/message/210931
Mute This Topic: https://lists.openembedded.org/mt/111030916/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to