Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

snap/snapenv: set SNAP_REAL_HOME #9189

Merged
merged 1 commit into from Aug 20, 2020
Merged

Conversation

zyga
Copy link
Collaborator

@zyga zyga commented Aug 20, 2020

The SNAP_REAL_HOME environment variable contains the vanilla home
directory before snapd-induced remapping. This is useful for several
reasons and might allow various helpers to use less guesses.

Signed-off-by: Zygmunt Krynicki zygmunt.krynicki@canonical.com

Copy link
Contributor

@stolowski stolowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you! Please let @degville know so it's reflected in the docs.

The SNAP_REAL_HOME environment variable contains the vanilla home
directory before snapd-induced remapping. This is useful for several
reasons and might allow various helpers to use less guesses.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
@zyga zyga merged commit b1a5431 into snapcore:master Aug 20, 2020
@zyga zyga deleted the feature/snap-real-home branch August 20, 2020 17:58
@brlin-tw
Copy link
Contributor

brlin-tw commented Sep 2, 2020

I've updated Environment variables - doc - snapcraft.io for this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants