Skip to content

Latest commit

 

History

History
94 lines (85 loc) · 1.56 KB

oelint.vars.bbvars.md

File metadata and controls

94 lines (85 loc) · 1.56 KB

oelint.vars.bbvars

severity: warning

Example

In my-recipe_1.0.bb

BBDEBUG = "1"

Why is this bad?

A set of variable from bitbake should only be set in local.conf or distro.conf, as they need to be set globally. They do not have the desired effect when set in a recipe.

Ways to fix it

Remove the usage of the following variable from recipes

  • BB_CONSOLELOG
  • BB_CURRENTTASK
  • BB_DANGLINGAPPENDS_WARNONLY
  • BB_DEFAULT_TASK
  • BB_DISKMON_DIRS
  • BB_DISKMON_WARNINTERVAL
  • BB_ENV_EXTRAWHITE
  • BB_ENV_WHITELIST
  • BB_FETCH_PREMIRRORONLY
  • BB_FILENAME
  • BB_GENERATE_MIRROR_TARBALLS
  • BB_HASHBASE_WHITELIST
  • BB_HASHCHECK_FUNCTION
  • BB_HASHCONFIG_WHITELIST
  • BB_INVALIDCONF
  • BB_LOGFMT
  • BB_NICE_LEVEL
  • BB_NO_NETWORK
  • BB_NUMBER_PARSE_THREADS
  • BB_NUMBER_THREADS
  • BB_ORIGENV
  • BB_PRESERVE_ENV
  • BB_RUNFMT
  • BB_RUNTASK
  • BB_SCHEDULER
  • BB_SCHEDULERS
  • BB_SETSCENE_DEPVALID
  • BB_SETSCENE_VERIFY_FUNCTION
  • BB_SIGNATURE_EXCLUDE_FLAGS
  • BB_SIGNATURE_HANDLER
  • BB_SRCREV_POLICY
  • BB_STAMP_POLICY
  • BB_STAMP_WHITELIST
  • BB_STRICT_CHECKSUM
  • BB_TASK_NICE_LEVEL
  • BB_TASKHASH
  • BB_VERBOSE_LOGS
  • BB_WORKERCONTEXT
  • BBDEBUG
  • BBFILE_COLLECTIONS
  • BBFILE_PATTERN
  • BBFILE_PRIORITY
  • BBFILES
  • BBINCLUDED
  • BBINCLUDELOGS
  • BBINCLUDELOGS_LINES
  • BBLAYERS
  • BBMASK
  • BBPATH
  • BBSERVER
  • BBVERSIONS
  • BITBAKE_UI
  • BUILDNAME
  • CACHE
  • DL_DIR
  • FILE
  • FILESDIR
  • FILESPATH
  • INHERIT
  • LAYERDEPENDS
  • LAYERDIR
  • LAYERVERSION
  • MIRRORS
  • MULTI_PROVIDER_WHITELIST
  • PERSISTENT_DIR
  • PREFERRED_PROVIDER
  • PREFERRED_PROVIDERS
  • PREFERRED_VERSION
  • PREMIRRORS
  • PRSERV_HOST
  • STAMP
  • TOPDIR