Skip to content

$HOME variable is overwritten #148

@mo-krauti

Description

@mo-krauti

Why is the $HOME environment variable being overwritten to something in tmp (like /tmp/tmpak07rj9a)? Even with --preserve-env. I have my yocto sstate cache and downloads set up like this:

local_conf_header:
  # use shared downloads and cache directories
  meta-custom: |
    DL_DIR="${HOME}/.local/share/bitbake/downloads"
    SSTATE_DIR="${HOME}/.local/share/bitbake/sstate-cache"

which then oviously will not work. I did not see anything related to this in the documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions