I'm sorry, but we do not endorse that linter, and do not accommodate
its (sometimes strange) demands. You need to fix the linter, not
oe-core.

Alex

On Thu, 6 Feb 2025 at 13:50, Weisser, Pascal.ext via
lists.openembedded.org
<Pascal.Weisser.ext=karlstorz....@lists.openembedded.org> wrote:
>
> 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....@karlstorz.com>
> ---
>  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 (#210933): 
https://lists.openembedded.org/g/openembedded-core/message/210933
Mute This Topic: https://lists.openembedded.org/mt/111030916/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to