Skip to content

Commit

Permalink
meta-lxatac-software: lxatac-core-image-base: add oelint exception
Browse files Browse the repository at this point in the history
This disables the following oelint error message:

 $ oelint-adv --mode=all --quiet .../images/lxatac-core-image-base.bb
 .../images/lxatac-core-image-base.bb:14:error:oelint.vars.specific:
 'EXTRA_IMAGECMD' is set specific to ['ext4'], but isn't known from
 PACKAGES, MACHINE, DISTRO or resources [branch:false]

The EXTRA_IMAGECMD:ext4 variable is however also used in meta-oe
and other filesystem-specific variants are also used elsewhere.
It should thus be okay to use it and disable the error message.

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
  • Loading branch information
hnez committed Jan 3, 2025
1 parent f0dcecc commit c618afa
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ IMAGE_FEATURES = "ssh-server-openssh empty-root-password tools-debug lic-pkgs"
IMAGE_FSTYPES += "ext4"

# use a fixed directory hash seed to reduce the image delta size
# nooelint: oelint.vars.specific
EXTRA_IMAGECMD:ext4 = "-i 4096 -E hash_seed=4267a9cf-754d-4506-9156-d3f4a18842e5"

# Disable the orphan_file feature which is not supported by langdale's
# resize2fs and which would otherwise break installation of new RAUC bundles on
# langdale-based TACs.
# The override can be removed when updates from langedale are no longer needed.
# nooelint: oelint.vars.specific
EXTRA_IMAGECMD:ext4 += "-O ^orphan_file"

IMAGE_LINGUAS = "en-us"
Expand Down

0 comments on commit c618afa

Please sign in to comment.